projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
932cee5
)
Support "next parameter flags present" flag.
author
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 20 Mar 2009 13:04:14 +0000
(13:04 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 20 Mar 2009 13:04:14 +0000
(13:04 +0000)
Originally committed as revision 18073 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mlpdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mlpdec.c
b/libavcodec/mlpdec.c
index c71450062a05329c8a4d93a690ae40946d4394a1..06304288ed2c81579e75347055684c14e652b3cc 100644
(file)
--- 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);