Browse Source

rl2: return EOF on EOF

Fixes Ticket1947

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
d4d8d4f786
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rl2.c

+ 1
- 1
libavformat/rl2.c 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];



Loading…
Cancel
Save