[FFmpeg-cvslog] r26285 - trunk/libavformat/rtsp.c

mstorsjo subversion
Sun Jan 9 11:47:53 CET 2011


Author: mstorsjo
Date: Sun Jan  9 11:47:53 2011
New Revision: 26285

Log:
rtsp: Properly fail if unable to open an input RTP port

Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	Sun Jan  9 11:28:41 2011	(r26284)
+++ trunk/libavformat/rtsp.c	Sun Jan  9 11:47:53 2011	(r26285)
@@ -1093,6 +1093,10 @@ static int make_setup_request(AVFormatCo
                 err = AVERROR_INVALIDDATA;
                 goto fail;
             }
+#else
+            av_log(s, AV_LOG_ERROR, "Unable to open an input RTP port\n");
+            err = AVERROR(EIO);
+            goto fail;
 #endif
 
         rtp_opened:



More information about the ffmpeg-cvslog mailing list