aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dec.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-06-07 22:30:43 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-06-07 22:30:43 +0000
commit54624396fc4ef42bfa7918dc573727b0ae17fcc5 (patch)
treebd96ec9ed6362ba04831cf305a19b6be3143e735 /libavcodec/ac3dec.h
parentbe594ae4b4ff07518a9fa71f2971dcf2b2585a11 (diff)
downloadffmpeg-54624396fc4ef42bfa7918dc573727b0ae17fcc5.tar.gz
store cpl_in_use for all blocks in decode context
Originally committed as revision 13703 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.h')
-rw-r--r--libavcodec/ac3dec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h
index 103b757527..f4986f6a9e 100644
--- a/libavcodec/ac3dec.h
+++ b/libavcodec/ac3dec.h
@@ -42,6 +42,7 @@
#define AC3_MAX_COEFS 256
#define AC3_BLOCK_SIZE 256
+#define MAX_BLOCKS 6
typedef struct {
AVCodecContext *avctx; ///< parent context
@@ -63,7 +64,7 @@ typedef struct {
///@}
///@defgroup cpl standard coupling
- int cpl_in_use; ///< coupling in use (cplinu)
+ int cpl_in_use[MAX_BLOCKS]; ///< coupling in use (cplinu)
int channel_in_cpl[AC3_MAX_CHANNELS]; ///< channel in coupling (chincpl)
int phase_flags_in_use; ///< phase flags in use (phsflginu)
int phase_flags[18]; ///< phase flags (phsflg)