Browse Source

avformat/oggparseflac: Replace skip_bits_long() by skip_bits() where possible

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.3
Michael Niedermayer 6 years ago
parent
commit
e900621074
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggparseflac.c

+ 1
- 1
libavformat/oggparseflac.c View File

@@ -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 */


Loading…
Cancel
Save