aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rpl.c
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-11-21 09:48:46 +0000
committerPaul B Mahol <onemda@gmail.com>2012-11-21 09:48:46 +0000
commit9a0ecd507a94b974206bfc96c6784c6c21462116 (patch)
tree3e1f2a89a7418a72371add14df07d99a4ba7e150 /libavformat/rpl.c
parent030db0c1dd807afca82813f07f5297cd192ebaa1 (diff)
downloadffmpeg-9a0ecd507a94b974206bfc96c6784c6c21462116.tar.gz
rpl: return AVERROR_EOF instead of -1
Diffstat (limited to 'libavformat/rpl.c')
-rw-r--r--libavformat/rpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rpl.c b/libavformat/rpl.c
index b790597e33..dcc79501d8 100644
--- a/libavformat/rpl.c
+++ b/libavformat/rpl.c
@@ -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];