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

lu_zero subversion
Thu Nov 22 15:13:23 CET 2007


Author: lu_zero
Date: Thu Nov 22 15:13:23 2007
New Revision: 11076

Log:
Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse (missing hunk from r11072)


Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	(original)
+++ trunk/libavformat/rtsp.c	Thu Nov 22 15:13:23 2007
@@ -1196,7 +1196,7 @@ static int rtsp_read_packet(AVFormatCont
         break;
     }
     if (len < 0)
-        return AVERROR(EIO);
+        return len;
     ret = rtp_parse_packet(rtsp_st->rtp_ctx, pkt, buf, len);
     if (ret < 0)
         goto redo;




More information about the ffmpeg-cvslog mailing list