mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
mlpdec: output_shift is signed
Originally committed as revision 18208 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
43ee5fe035
commit
af04802640
@ -625,7 +625,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp,
|
||||
if (s->param_presence_flags & PARAM_OUTSHIFT)
|
||||
if (get_bits1(gbp))
|
||||
for (ch = 0; ch <= s->max_matrix_channel; ch++) {
|
||||
s->output_shift[ch] = get_bits(gbp, 4);
|
||||
s->output_shift[ch] = get_sbits(gbp, 4);
|
||||
dprintf(m->avctx, "output shift[%d] = %d\n",
|
||||
ch, s->output_shift[ch]);
|
||||
/* TODO: validate */
|
||||
|
Loading…
Reference in New Issue
Block a user