1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

more bitstream_skip()

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4055 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2002-01-08 14:55:36 +00:00
parent f2cd1a822b
commit 247ca52f00

View File

@ -127,7 +127,7 @@ int a52_frame (a52_state_t * state, uint8_t * buf, int * flags,
state->acmod = acmod = buf[6] >> 5;
bitstream_set_ptr (buf + 6);
bitstream_get (3); /* skip acmod we already parsed */
bitstream_skip (3); /* skip acmod we already parsed */
if ((acmod == 2) && (bitstream_get (2) == 2)) /* dsurmod */
acmod = A52_DOLBY;
@ -650,7 +650,7 @@ int a52_block (a52_state_t * state, sample_t * samples)
if (parse_exponents (chexpstr[i], nchgrps, state->fbw_exp[i][0],
state->fbw_exp[i] + 1))
return 1;
bitstream_get (2); /* gainrng */
bitstream_skip (2); /* gainrng */
}
if (lfeexpstr != EXP_REUSE) {
do_bit_alloc |= 32;