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

ramiro subversion
Fri Mar 20 14:04:14 CET 2009


Author: ramiro
Date: Fri Mar 20 14:04:14 2009
New Revision: 18073

Log:
Support "next parameter flags present" flag.

Modified:
   trunk/libavcodec/mlpdec.c

Modified: trunk/libavcodec/mlpdec.c
==============================================================================
--- trunk/libavcodec/mlpdec.c	Fri Mar 20 14:02:15 2009	(r18072)
+++ trunk/libavcodec/mlpdec.c	Fri Mar 20 14:04:14 2009	(r18073)
@@ -76,6 +76,7 @@ typedef struct SubStream {
 #define PARAM_FIR           (1 << 3)
 #define PARAM_IIR           (1 << 2)
 #define PARAM_HUFFOFFSET    (1 << 1)
+#define PARAM_PRESENCE      (1 << 0)
     //@}
 
     //@{
@@ -501,6 +502,7 @@ static int read_decoding_params(MLPDecod
     SubStream *s = &m->substream[substr];
     unsigned int mat, ch;
 
+    if (s->param_presence_flags & PARAM_PRESENCE)
     if (get_bits1(gbp))
         s->param_presence_flags = get_bits(gbp, 8);
 




More information about the ffmpeg-cvslog mailing list