mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
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];
|
||||
|
||||
if (rpl->chunk_number >= stream->nb_index_entries)
|
||||
return -1;
|
||||
return AVERROR_EOF;
|
||||
|
||||
index_entry = &stream->index_entries[rpl->chunk_number];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user