[FFmpeg-devel] [PATCH] check for udp_set_remote_url error
Reimar Döffinger
Reimar.Doeffinger
Sun Feb 28 10:22:14 CET 2010
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))
More information about the ffmpeg-devel
mailing list