Mercurial > libavcodec.hg
changeset 9264:230dac9ec1d4 libavcodec
mlpdec: output_shift is signed
author | ramiro |
---|---|
date | Fri, 27 Mar 2009 23:45:52 +0000 |
parents | 62774b28cde0 |
children | 9d04c011f3dd |
files | mlpdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mlpdec.c Fri Mar 27 23:42:22 2009 +0000 +++ b/mlpdec.c Fri Mar 27 23:45:52 2009 +0000 @@ -625,7 +625,7 @@ 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 */