[SCM] libav/experimental: Support "next parameter flags present" flag.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:41:52 UTC 2013
The following commit has been merged in the experimental branch:
commit cbf3cf19f3dec3a3788b15d31db9795de5e42ed9
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date: Fri Mar 20 13:04:14 2009 +0000
Support "next parameter flags present" flag.
Originally committed as revision 18073 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c
index c714500..0630428 100644
--- a/libavcodec/mlpdec.c
+++ b/libavcodec/mlpdec.c
@@ -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(MLPDecodeContext *m, GetBitContext *gbp,
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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list