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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/331/head
Michael Niedermayer 5 years ago
parent f72fa1ad67
commit e900621074
  1. 2
      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 */

Loading…
Cancel
Save