aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-10-07 12:33:00 -0400
committerLuca Barbato <lu_zero@gentoo.org>2015-10-08 21:55:31 +0200
commita8956eca1ff3b5b7f9aadbe6eb46536efeb2f828 (patch)
tree931420aa00adc71b5b173c5526a96d15cf6c2df7 /libavcodec/hevc.c
parent2830bce47e2eb29c76202f19017031ddc1f95dd3 (diff)
downloadffmpeg-a8956eca1ff3b5b7f9aadbe6eb46536efeb2f828.tar.gz
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/hevc.c')
-rw-r--r--libavcodec/hevc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 07b7de1208..e1b1be3c3a 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2984,8 +2984,6 @@ static av_cold int hevc_decode_init(AVCodecContext *avctx)
HEVCContext *s = avctx->priv_data;
int ret;
- ff_init_cabac_states();
-
avctx->internal->allocate_progress = 1;
ret = hevc_init_context(avctx);