rpl: return AVERROR_EOF instead of -1
This commit is contained in:
parent
030db0c1dd
commit
9a0ecd507a
@ -287,7 +287,7 @@ static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
stream = s->streams[rpl->chunk_part];
|
stream = s->streams[rpl->chunk_part];
|
||||||
|
|
||||||
if (rpl->chunk_number >= stream->nb_index_entries)
|
if (rpl->chunk_number >= stream->nb_index_entries)
|
||||||
return -1;
|
return AVERROR_EOF;
|
||||||
|
|
||||||
index_entry = &stream->index_entries[rpl->chunk_number];
|
index_entry = &stream->index_entries[rpl->chunk_number];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user