[FFmpeg-devel] [PATCH] oggparseskeleton: return 0 on EOS packet
James Almer
jamrial at gmail.com
Mon Jan 6 08:25:32 CET 2014
It's the last packet
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavformat/oggparseskeleton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/oggparseskeleton.c b/libavformat/oggparseskeleton.c
index d94b0c2..eea1370 100644
--- a/libavformat/oggparseskeleton.c
+++ b/libavformat/oggparseskeleton.c
@@ -38,7 +38,7 @@ static int skeleton_header(AVFormatContext *s, int idx)
st->codec->codec_type = AVMEDIA_TYPE_DATA;
if ((os->flags & OGG_FLAG_EOS) && os->psize == 0)
- return 1;
+ return 0;
if (os->psize < 8)
return -1;
--
1.8.3.2
More information about the ffmpeg-devel
mailing list