Commit d00a5965 authored by ramiro's avatar ramiro

Support "next parameter flags present" flag.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18073 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b30e45bd
...@@ -76,6 +76,7 @@ typedef struct SubStream { ...@@ -76,6 +76,7 @@ typedef struct SubStream {
#define PARAM_FIR (1 << 3) #define PARAM_FIR (1 << 3)
#define PARAM_IIR (1 << 2) #define PARAM_IIR (1 << 2)
#define PARAM_HUFFOFFSET (1 << 1) #define PARAM_HUFFOFFSET (1 << 1)
#define PARAM_PRESENCE (1 << 0)
//@} //@}
//@{ //@{
...@@ -501,6 +502,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp, ...@@ -501,6 +502,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp,
SubStream *s = &m->substream[substr]; SubStream *s = &m->substream[substr];
unsigned int mat, ch; unsigned int mat, ch;
if (s->param_presence_flags & PARAM_PRESENCE)
if (get_bits1(gbp)) if (get_bits1(gbp))
s->param_presence_flags = get_bits(gbp, 8); s->param_presence_flags = get_bits(gbp, 8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment