diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-27 23:45:52 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-27 23:45:52 +0000 |
commit | af0480264005cce7c4e13082ce33fd1be5627b32 (patch) | |
tree | 6b94a6325efb59d0578cd4b23e5d4d967ec3ae3d /libavcodec | |
parent | 43ee5fe0355ae19753c530006c73625ba7be190c (diff) | |
download | ffmpeg-af0480264005cce7c4e13082ce33fd1be5627b32.tar.gz |
mlpdec: output_shift is signed
Originally committed as revision 18208 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mlpdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index c286c3b792..2f5f9941ba 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -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 */ |