diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-24 02:51:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-24 02:51:51 +0100 |
commit | d4d8d4f786d9c13b760403d96fe8868d1354b01c (patch) | |
tree | 3c3f5ac8b810a38ea4f483d3a7c345476a7e7dd6 /libavformat/rl2.c | |
parent | eeb111d364c625a091e83dca980bf6bdc60a85fc (diff) | |
download | ffmpeg-d4d8d4f786d9c13b760403d96fe8868d1354b01c.tar.gz |
rl2: return EOF on EOF
Fixes Ticket1947
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rl2.c')
-rw-r--r-- | libavformat/rl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rl2.c b/libavformat/rl2.c index 73d6b2767a..800e12edbe 100644 --- a/libavformat/rl2.c +++ b/libavformat/rl2.c @@ -232,7 +232,7 @@ static int rl2_read_packet(AVFormatContext *s, } if(stream_id == -1) - return AVERROR(EIO); + return AVERROR_EOF; ++rl2->index_pos[stream_id]; |