You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/oggparseflac: Replace skip_bits_long() by skip_bits() where possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -50,7 +50,7 @@ flac_header (AVFormatContext * s, int idx)
|
|||||||
skip_bits_long(&gb, 4*8); /* "FLAC" */
|
skip_bits_long(&gb, 4*8); /* "FLAC" */
|
||||||
if(get_bits(&gb, 8) != 1) /* unsupported major version */
|
if(get_bits(&gb, 8) != 1) /* unsupported major version */
|
||||||
return -1;
|
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" */
|
skip_bits_long(&gb, 4*8); /* "fLaC" */
|
||||||
|
|
||||||
/* METADATA_BLOCK_HEADER */
|
/* METADATA_BLOCK_HEADER */
|
||||||
|
Reference in New Issue
Block a user