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

Carl Eugen Hoyos cehoyos
Wed Jul 28 12:41:31 CEST 2010


Reimar D?ffinger <Reimar.Doeffinger <at> gmx.de> writes:

> 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;

Any reason this was not applied?

Issue 1784 is still reproducible.

Carl Eugen




More information about the ffmpeg-devel mailing list