gst-plugins-bad: sdpdemux: remove redundant assignment

Nicolas Dufresne nicolas.dufresne at collabora.com
Wed Jul 29 09:28:49 PDT 2015


Le mercredi 29 juillet 2015 à 09:22 -0700, Luis de Bethencourt a écrit
 :
> Module: gst-plugins-bad
> Branch: master
> Commit: d6b637532f8b65d77a86b4ce951caa8d99b699f0
> URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins
> -bad/commit/?id=d6b637532f8b65d77a86b4ce951caa8d99b699f0
> 
> Author: Luis de Bethencourt <luis at debethencourt.com>
> Date:   Wed Jul 29 17:17:16 2015 +0100
> 
> sdpdemux: remove redundant assignment
> 
> Value of p is already set below just before being used. Removing this
> first assignment that will be ignored.
> 
> ---
> 
>  gst/sdp/gstsdpdemux.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
> index 908390e..010b0c5 100644
> --- a/gst/sdp/gstsdpdemux.c
> +++ b/gst/sdp/gstsdpdemux.c
> @@ -524,7 +524,7 @@ gst_sdp_demux_parse_rtpmap (const gchar * rtpmap, 
> gint * payload, gchar ** name,
>  {
>    gchar *p, *t;
>  
> -  t = p = (gchar *) rtpmap;
> +  p = (gchar *) rtpmap;

This does not match your commit message.

>  
>    PARSE_INT (p, " ", *payload);
>    if (*payload == -1)
> 
> _______________________________________________
> gstreamer-commits mailing list
> gstreamer-commits at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150729/62635e1d/attachment.sig>


More information about the gstreamer-devel mailing list