[FFmpeg-cvslog] r18611 - trunk/libavcodec/mlpdec.c
ramiro
subversion
Sat Apr 18 20:54:31 CEST 2009
Author: ramiro
Date: Sat Apr 18 20:54:30 2009
New Revision: 18611
Log:
mlpdec: Make read_matrix_params() take unsigned int substr for consistency.
Modified:
trunk/libavcodec/mlpdec.c
Modified: trunk/libavcodec/mlpdec.c
==============================================================================
--- trunk/libavcodec/mlpdec.c Sat Apr 18 20:51:43 2009 (r18610)
+++ trunk/libavcodec/mlpdec.c Sat Apr 18 20:54:30 2009 (r18611)
@@ -507,8 +507,9 @@ static int read_filter_params(MLPDecodeC
/** Read parameters for primitive matrices. */
-static int read_matrix_params(MLPDecodeContext *m, SubStream *s, GetBitContext *gbp)
+static int read_matrix_params(MLPDecodeContext *m, unsigned int substr, GetBitContext *gbp)
{
+ SubStream *s = &m->substream[substr];
unsigned int mat, ch;
if (m->matrix_changed++ > 1) {
@@ -638,7 +639,7 @@ static int read_decoding_params(MLPDecod
if (s->param_presence_flags & PARAM_MATRIX)
if (get_bits1(gbp)) {
- if (read_matrix_params(m, s, gbp) < 0)
+ if (read_matrix_params(m, substr, gbp) < 0)
return -1;
}
More information about the ffmpeg-cvslog
mailing list