Commit 9a0ecd50 authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Paul B Mahol

rpl: return AVERROR_EOF instead of -1

parent 030db0c1
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment