changeset 2775:1301147d9450 libavformat

Make av_read_frame with rtsp client return EINTR on interrupt patch from elupusateccedotse (missing hunk from r11072)
author lu_zero
date Thu, 22 Nov 2007 14:13:23 +0000
parents 477419a721a3
children 885ffd858508
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Thu Nov 22 02:27:39 2007 +0000
+++ b/rtsp.c	Thu Nov 22 14:13:23 2007 +0000
@@ -1196,7 +1196,7 @@
         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;