... | ... |
@@ -287,7 +287,7 @@ static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt) |
287 | 287 |
stream = s->streams[rpl->chunk_part]; |
288 | 288 |
|
289 | 289 |
if (rpl->chunk_number >= stream->nb_index_entries) |
290 |
- return -1; |
|
290 |
+ return AVERROR_EOF; |
|
291 | 291 |
|
292 | 292 |
index_entry = &stream->index_entries[rpl->chunk_number]; |
293 | 293 |
|