Module: libav
Branch: master
Commit: 1e3336de69d1c4c28a5e306fab20555f4078f2d7

Author:    Laurent Aimar <[email protected]>
Committer: Janne Grunau <[email protected]>
Date:      Sun Sep 25 20:06:19 2011 +0000

mpc8: Fix return value on EOF

Signed-off-by: Janne Grunau <[email protected]>

---

 libavformat/mpc8.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c
index d7a7d6a..2634ee3 100644
--- a/libavformat/mpc8.c
+++ b/libavformat/mpc8.c
@@ -264,7 +264,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket 
*pkt)
             return AVERROR(EIO);
         mpc8_handle_chunk(s, tag, pos, size);
     }
-    return 0;
+    return AVERROR_EOF;
 }
 
 static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t 
timestamp, int flags)

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to