diff options
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 4fec5b4094..831ef9b26f 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1196,7 +1196,7 @@ static int rtsp_read_packet(AVFormatContext *s, 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; |