[FFmpeg-cvslog] Remove warning about Ogg skeleton v4.

Reimar Döffinger git at videolan.org
Sat Feb 4 20:18:56 CET 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Feb  4 20:15:55 2012 +0100| [5b0103590ce4124abf6389a6905ca21eb14bb94a] | committer: Reimar Döffinger

Remove warning about Ogg skeleton v4.

We can handle v4 just fine, the parts we currently use
are the same for v3 and v4.
v4 can in addition contain an index which we so far do
not use though.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

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

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

diff --git a/libavformat/oggparseskeleton.c b/libavformat/oggparseskeleton.c
index 8ae753b..8d8e5dc 100644
--- a/libavformat/oggparseskeleton.c
+++ b/libavformat/oggparseskeleton.c
@@ -46,7 +46,7 @@ static int skeleton_header(AVFormatContext *s, int idx)
         version_major = AV_RL16(buf+8);
         version_minor = AV_RL16(buf+10);
 
-        if (version_major != 3) {
+        if (version_major != 3 && version_major != 4) {
             av_log(s, AV_LOG_WARNING, "Unknown skeleton version %d.%d\n",
                    version_major, version_minor);
             return -1;



More information about the ffmpeg-cvslog mailing list