Commit d4d8d4f7 authored by Michael Niedermayer's avatar Michael Niedermayer

rl2: return EOF on EOF

Fixes Ticket1947
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent eeb111d3
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment