[FFmpeg-cvslog] r18335 - trunk/libavcodec/mlpdec.c

ramiro subversion
Sun Apr 5 22:11:40 CEST 2009


Author: ramiro
Date: Sun Apr  5 22:11:40 2009
New Revision: 18335

Log:
mlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.

Modified:
   trunk/libavcodec/mlpdec.c

Modified: trunk/libavcodec/mlpdec.c
==============================================================================
--- trunk/libavcodec/mlpdec.c	Sun Apr  5 15:02:47 2009	(r18334)
+++ trunk/libavcodec/mlpdec.c	Sun Apr  5 22:11:40 2009	(r18335)
@@ -508,7 +508,7 @@ static int read_matrix_params(MLPDecodeC
         frac_bits             = get_bits(gbp, 4);
         s->lsb_bypass   [mat] = get_bits1(gbp);
 
-        if (s->matrix_out_ch[mat] > s->max_channel) {
+        if (s->matrix_out_ch[mat] > s->max_matrix_channel) {
             av_log(m->avctx, AV_LOG_ERROR,
                     "Invalid channel %d specified as output from matrix.\n",
                     s->matrix_out_ch[mat]);



More information about the ffmpeg-cvslog mailing list