summaryrefslogtreecommitdiff
path: root/libavcodec/ac3tab.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-06-27 14:43:39 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-09-22 00:12:27 +0200
commitfe315feab59f2f99765547096357826bc9454d24 (patch)
tree68858786dc19b3219b050f4ee0c27d0acfa0ffba /libavcodec/ac3tab.h
parenta068594248b784c97d4423812379ca03c6ce5c54 (diff)
avcodec/eac3dec: Check that channel_map does not contain more than EAC3_MAX_CHANNELS
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ac3tab.h')
-rw-r--r--libavcodec/ac3tab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3tab.h b/libavcodec/ac3tab.h
index ade6fb15e7..aa71acbce1 100644
--- a/libavcodec/ac3tab.h
+++ b/libavcodec/ac3tab.h
@@ -50,6 +50,8 @@ extern const uint16_t ff_ac3_fast_gain_tab[8];
extern const uint16_t ff_eac3_default_chmap[8];
extern const uint8_t ff_ac3_band_start_tab[AC3_CRITICAL_BANDS+1];
extern const uint8_t ff_ac3_bin_to_band_tab[253];
+extern const uint64_t ff_eac3_custom_channel_map_locations[16][2];
+
/** Custom channel map locations bitmask
* Other channels described in documentation: