diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-20 13:04:14 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-20 13:04:14 +0000 |
commit | cbf3cf19f3dec3a3788b15d31db9795de5e42ed9 (patch) | |
tree | 9e2c4664ce9bffb228e492c24cf87fa9a11bc1b4 /libavcodec/mlpdec.c | |
parent | 932cee5d6730c1358cb564ee0c84423ddd9ab21c (diff) | |
download | ffmpeg-cbf3cf19f3dec3a3788b15d31db9795de5e42ed9.tar.gz |
Support "next parameter flags present" flag.
Originally committed as revision 18073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlpdec.c')
-rw-r--r-- | libavcodec/mlpdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index c71450062a..06304288ed 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); |