[FFmpeg-devel] [PATCH 1/2] Fix return value on EOF in mpc v8 demuxer.
fenrir at elivagar.org
fenrir at elivagar.org
Sun Sep 25 13:43:37 CEST 2011
From: Laurent Aimar <fenrir at videolan.org>
---
libavformat/mpc8.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c
index 5b43884..6f722d9 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)
--
1.7.2.5
More information about the ffmpeg-devel
mailing list