mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 10:15:22 +00:00
flac: use get_bits_longlong()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
01c9ffa913
commit
3fa100244f
@ -206,8 +206,7 @@ void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *
|
||||
avctx->sample_rate = s->samplerate;
|
||||
avctx->bits_per_raw_sample = s->bps;
|
||||
|
||||
s->samples = get_bits_long(&gb, 32) << 4;
|
||||
s->samples |= get_bits(&gb, 4);
|
||||
s->samples = get_bits_longlong(&gb, 36);
|
||||
|
||||
skip_bits_long(&gb, 64); /* md5 sum */
|
||||
skip_bits_long(&gb, 64); /* md5 sum */
|
||||
|
Loading…
Reference in New Issue
Block a user