[FFmpeg-cvslog] r22219 - trunk/libavformat/rtpproto.c

mstorsjo subversion
Fri Mar 5 09:15:20 CET 2010


Author: mstorsjo
Date: Fri Mar  5 09:15:20 2010
New Revision: 22219

Log:
Return from rtp_read when select returns an error

Modified:
   trunk/libavformat/rtpproto.c

Modified: trunk/libavformat/rtpproto.c
==============================================================================
--- trunk/libavformat/rtpproto.c	Fri Mar  5 04:54:39 2010	(r22218)
+++ trunk/libavformat/rtpproto.c	Fri Mar  5 09:15:20 2010	(r22219)
@@ -248,6 +248,8 @@ static int rtp_read(URLContext *h, uint8
                 }
                 break;
             }
+        } else if (n < 0) {
+            return AVERROR(EIO);
         }
     }
 #endif



More information about the ffmpeg-cvslog mailing list