diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-10-07 11:39:46 -0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-10-10 09:52:18 +0200 |
commit | 8a73b8c5b42d02c0056f751e290c5cd60c6b802e (patch) | |
tree | ec7dabb501bb934aa67550ee836fd47d20674123 /libavcodec/h264.c | |
parent | 9692fd762296f17350f0be2826c361d187a4be6e (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/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 b662e562f5..3209c9c4a7 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -659,8 +659,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) { if(h->avctx->time_base.den < INT_MAX/2) { |