summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.h
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2015-10-07 11:39:45 -0400
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-10 09:52:13 +0200
commit9692fd762296f17350f0be2826c361d187a4be6e (patch)
tree4392302880e70941bdd4037f9d8a2a1be616dfa1 /libavcodec/cabac.h
parent9d6873a43d2085e64651ffe9bf343d0dde182e93 (diff)
Revert "cabac: Allow hardcoding CABAC table."
This becomes unuseful in the following commit. This reverts commit 092d1977cc7146f20c8db2155e7d648afb300de7. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r--libavcodec/cabac.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index f9eafed105..eb6b521d3e 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -31,12 +31,7 @@
#include "put_bits.h"
-#if CONFIG_HARDCODED_TABLES
-#define CABAC_TABLE_CONST const
-#else
-#define CABAC_TABLE_CONST
-#endif
-extern CABAC_TABLE_CONST uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 63];
+extern uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 63];
#define H264_NORM_SHIFT_OFFSET 0
#define H264_LPS_RANGE_OFFSET 512
#define H264_MLPS_STATE_OFFSET 1024