aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-11-21 17:13:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-21 23:51:21 +0100
commit9530439e5f0dbab97c6789c30fad1c03d59b58d7 (patch)
tree76150b538e13de85f71fe5a16d46a28fe1553897 /libavformat
parent1ed7ca00dccb7dfe821be324c62e7937a1327393 (diff)
downloadffmpeg-9530439e5f0dbab97c6789c30fad1c03d59b58d7.tar.gz
segafilm: signal EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/segafilm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
index 359d109f0b..a33ad858f5 100644
--- a/libavformat/segafilm.c
+++ b/libavformat/segafilm.c
@@ -248,7 +248,7 @@ static int film_read_packet(AVFormatContext *s,
int left, right;
if (film->current_sample >= film->sample_count)
- return AVERROR(EIO);
+ return AVERROR_EOF;
sample = &film->sample_table[film->current_sample];