X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Foggparseflac.c;h=4e85b05c67169f6942eeab5fa60c4a49a0070dc2;hb=2c477be08a64a78ab0a358ae00e2f2dc746f2b47;hp=a51ff251adaab78d7539da2470d6df22f4c7eaee;hpb=c1e439d7e9abab3cebdc937636393b1656e095d9;p=ffmpeg diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index a51ff251ada..4e85b05c671 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -50,7 +50,7 @@ flac_header (AVFormatContext * s, int idx) skip_bits_long(&gb, 4*8); /* "FLAC" */ if(get_bits(&gb, 8) != 1) /* unsupported major version */ return -1; - skip_bits_long(&gb, 8 + 16); /* minor version + header count */ + skip_bits(&gb, 8 + 16); /* minor version + header count */ skip_bits_long(&gb, 4*8); /* "fLaC" */ /* METADATA_BLOCK_HEADER */