rl2: return EOF on EOF
Fixes Ticket1947 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
eeb111d364
commit
d4d8d4f786
@ -232,7 +232,7 @@ static int rl2_read_packet(AVFormatContext *s,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(stream_id == -1)
|
if(stream_id == -1)
|
||||||
return AVERROR(EIO);
|
return AVERROR_EOF;
|
||||||
|
|
||||||
++rl2->index_pos[stream_id];
|
++rl2->index_pos[stream_id];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user