[FFmpeg-devel] [PATCH] check for udp_set_remote_url error

Martin Storsjö martin
Wed Jul 28 12:46:49 CEST 2010


On Sun, 28 Feb 2010, Reimar D?ffinger wrote:

> Hello,
> this should fix bug #1784
> Index: libavformat/udp.c
> ===================================================================
> --- libavformat/udp.c	(revision 22094)
> +++ libavformat/udp.c	(working copy)
> @@ -356,7 +357,8 @@
>          if (flags & URL_WRONLY)
>              goto fail;
>      } else {
> -        udp_set_remote_url(h, uri);
> +        if (udp_set_remote_url(h, uri) < 0)
> +            goto fail;
>      }
>  
>      if (s->is_multicast && !(h->flags & URL_WRONLY))

FWIW, ok with me.

// Martin



More information about the ffmpeg-devel mailing list