[FFmpeg-cvslog] r18208 - trunk/libavcodec/mlpdec.c
ramiro
subversion
Sat Mar 28 00:45:52 CET 2009
Author: ramiro
Date: Sat Mar 28 00:45:52 2009
New Revision: 18208
Log:
output_shift is signed
Modified:
trunk/libavcodec/mlpdec.c
Modified: trunk/libavcodec/mlpdec.c
==============================================================================
--- trunk/libavcodec/mlpdec.c Sat Mar 28 00:42:22 2009 (r18207)
+++ trunk/libavcodec/mlpdec.c Sat Mar 28 00:45:52 2009 (r18208)
@@ -625,7 +625,7 @@ static int read_decoding_params(MLPDecod
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 */
More information about the ffmpeg-cvslog
mailing list