Browse Source

rpl: return AVERROR_EOF instead of -1

tags/n1.1
Piotr Bandurski Paul B Mahol 13 years ago
parent
commit
9a0ecd507a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rpl.c

+ 1
- 1
libavformat/rpl.c View File

@@ -287,7 +287,7 @@ static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt)
stream = s->streams[rpl->chunk_part];

if (rpl->chunk_number >= stream->nb_index_entries)
return -1;
return AVERROR_EOF;

index_entry = &stream->index_entries[rpl->chunk_number];



Loading…
Cancel
Save