summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-10-07 11:39:46 -0400
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-10 09:52:18 +0200
commit8a73b8c5b42d02c0056f751e290c5cd60c6b802e (patch)
treeec7dabb501bb934aa67550ee836fd47d20674123 /libavcodec/hevc.c
parent9692fd762296f17350f0be2826c361d187a4be6e (diff)
cabac: Make cabac starts hardcoded
There's not much reason to generate such a small table at runtime. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
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 02869a078c..cd49718b79 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -3234,8 +3234,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);