diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-10-07 12:33:00 -0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-10-08 21:55:31 +0200 |
commit | a8956eca1ff3b5b7f9aadbe6eb46536efeb2f828 (patch) | |
tree | 931420aa00adc71b5b173c5526a96d15cf6c2df7 /libavcodec/h264.c | |
parent | 2830bce47e2eb29c76202f19017031ddc1f95dd3 (diff) |
cabac: Make CABAC states hardcoded
There is not much reason to generate such a small table at runtime.
Signed-off-by: Derek Buitenhuis <derekb@vimeo.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index d4cb0300c1..4c1e135dcc 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -621,8 +621,6 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx) ff_h264_decode_init_vlc(); - ff_init_cabac_states(); - if (avctx->codec_id == AV_CODEC_ID_H264) { if (avctx->ticks_per_frame == 1) h->avctx->framerate.num *= 2; |