summaryrefslogtreecommitdiff
path: root/libavcodec/aac.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-09 04:25:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-09 11:41:13 +0100
commit55d592f7d9847a22b594ebe413508d1f77a13ed6 (patch)
treee086b2521f0488a825205f5edd940491d589d0bc /libavcodec/aac.h
parentf9fa560597cf5e3e637d0f8e9bfd02cd0b91634c (diff)
avcodec/aacdec: Skip processing channel elements which have not been present
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r--libavcodec/aac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h
index 387e103497..e8de1e8525 100644
--- a/libavcodec/aac.h
+++ b/libavcodec/aac.h
@@ -245,6 +245,7 @@ typedef struct SingleChannelElement {
* channel element - generic struct for SCE/CPE/CCE/LFE
*/
typedef struct ChannelElement {
+ int present;
// CPE specific
int common_window; ///< Set if channels share a common 'IndividualChannelStream' in bitstream.
int ms_mode; ///< Signals mid/side stereo flags coding mode (used by encoder)