Commit f7625ec1 authored by ramiro's avatar ramiro

output_shift is signed

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18208 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c3c4fc75
...@@ -625,7 +625,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp, ...@@ -625,7 +625,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp,
if (s->param_presence_flags & PARAM_OUTSHIFT) if (s->param_presence_flags & PARAM_OUTSHIFT)
if (get_bits1(gbp)) if (get_bits1(gbp))
for (ch = 0; ch <= s->max_matrix_channel; ch++) { 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", dprintf(m->avctx, "output shift[%d] = %d\n",
ch, s->output_shift[ch]); ch, s->output_shift[ch]);
/* TODO: validate */ /* TODO: validate */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment