summaryrefslogtreecommitdiff
path: root/libavcodec/h261dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-05 23:43:31 +0200
committerDiego Biurrun <diego@biurrun.de>2013-04-10 13:32:04 +0200
commit20429ba96e55db17ac57f6c0e330914287f1f614 (patch)
tree0168bc5616d74f986e1dd113f467ad3e58ff4117 /libavcodec/h261dec.c
parent8a776ad90e00ab2b98e8683ac6182d641a383c3a (diff)
h261: Move encoder/decoder shared table init to common code
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 699f7cf8ef..49756a7dc5 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -61,7 +61,6 @@ static av_cold void h261_decode_init_vlc(H261Context *h)
INIT_VLC_STATIC(&h261_cbp_vlc, H261_CBP_VLC_BITS, 63,
&ff_h261_cbp_tab[0][1], 2, 1,
&ff_h261_cbp_tab[0][0], 2, 1, 512);
- ff_init_rl(&ff_h261_rl_tcoeff, ff_h261_rl_table_store);
INIT_VLC_RL(ff_h261_rl_tcoeff, 552);
}
}
@@ -82,6 +81,7 @@ static av_cold int h261_decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
s->codec_id = avctx->codec->id;
+ ff_h261_common_init();
h261_decode_init_vlc(h);
h->gob_start_code_skipped = 0;