rl2: return EOF on EOF

Fixes Ticket1947

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-12-24 02:51:51 +01:00
parent eeb111d364
commit d4d8d4f786
1 changed files with 1 additions and 1 deletions

View File

@ -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];