Skip to content

Commit

Permalink
Remove warning about Ogg skeleton v4.
Browse files Browse the repository at this point in the history
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@gmx.de>
  • Loading branch information
rdoeffinger committed Feb 4, 2012
1 parent 785d8a3 commit 5b01035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/oggparseskeleton.c
Expand Up @@ -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;
Expand Down

0 comments on commit 5b01035

Please sign in to comment.