[FFmpeg-cvslog] segafilm: signal EOF

Piotr Bandurski git at videolan.org
Thu Nov 22 00:06:10 CET 2012


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Nov 21 17:13:49 2012 +0100| [9530439e5f0dbab97c6789c30fad1c03d59b58d7] | committer: Michael Niedermayer

segafilm: signal EOF

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9530439e5f0dbab97c6789c30fad1c03d59b58d7
---

 libavformat/segafilm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
index 359d109..a33ad85 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];
 



More information about the ffmpeg-cvslog mailing list