diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-03-30 11:14:48 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-03-30 11:14:48 +0300 |
commit | 0b86ea03d8415b5a3a6b07f3012a8097bca26ea5 (patch) | |
tree | d4d3af3dc2d696066a24b0c9ec9880926b8f2d89 /libavcodec/ac3.h | |
parent | 91bb871376730a2394ed0ae1a3fd4295977002d3 (diff) |
avcodec/ac3: fix out of array access introduced previously
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r-- | libavcodec/ac3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h index 5c9c37727e..f8f6a81f45 100644 --- a/libavcodec/ac3.h +++ b/libavcodec/ac3.h @@ -28,6 +28,7 @@ #define AVCODEC_AC3_H #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */ +#define EAC3_MAX_CHANNELS 16 /**< maximum number of channels in EAC3 */ #define AC3_MAX_CHANNELS 7 /**< maximum number of channels, including coupling channel */ #define CPL_CH 0 /**< coupling channel index */ |