mirror of
https://github.com/mpv-player/mpv
synced 2025-03-23 00:14: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:
parent
f2cd1a822b
commit
247ca52f00
@ -127,7 +127,7 @@ int a52_frame (a52_state_t * state, uint8_t * buf, int * flags,
|
|||||||
state->acmod = acmod = buf[6] >> 5;
|
state->acmod = acmod = buf[6] >> 5;
|
||||||
|
|
||||||
bitstream_set_ptr (buf + 6);
|
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 */
|
if ((acmod == 2) && (bitstream_get (2) == 2)) /* dsurmod */
|
||||||
acmod = A52_DOLBY;
|
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],
|
if (parse_exponents (chexpstr[i], nchgrps, state->fbw_exp[i][0],
|
||||||
state->fbw_exp[i] + 1))
|
state->fbw_exp[i] + 1))
|
||||||
return 1;
|
return 1;
|
||||||
bitstream_get (2); /* gainrng */
|
bitstream_skip (2); /* gainrng */
|
||||||
}
|
}
|
||||||
if (lfeexpstr != EXP_REUSE) {
|
if (lfeexpstr != EXP_REUSE) {
|
||||||
do_bit_alloc |= 32;
|
do_bit_alloc |= 32;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user