X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcabac.h;h=b15a70bb69990b9053167dc75be5c75d552d15ba;hb=b9fb1db9b42cfad6b4073daf70ca7b89840a1c15;hp=f9eafed105a9f73112421f5c10c720838b6a3044;hpb=cbed8dbb7e1e2ac73b93502ee2a56a4e3ee51354;p=ffmpeg diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index f9eafed105a..b15a70bb699 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 const 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 @@ -57,6 +52,5 @@ typedef struct CABACContext{ void ff_init_cabac_encoder(CABACContext *c, uint8_t *buf, int buf_size); void ff_init_cabac_decoder(CABACContext *c, const uint8_t *buf, int buf_size); -void ff_init_cabac_states(void); #endif /* AVCODEC_CABAC_H */