Fix codec initialization. The mpeg4 and h263 codecs were split,
and there is also ituh263enc.c, of which I am unsure how it fits into the picture. However the mpeg4 encoder is using a "RL" table of the h263 encoder, and it appears it was forgotten to make sure it's initialized when splitting these files. Should be upstreamed. Fixes a crash when trying to use the MPEG4 encoder. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38847 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4cc17e8c78
commit
8be096e0f7
@ -1253,6 +1253,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
||||
init_uni_dc_tab();
|
||||
|
||||
init_rl(&ff_mpeg4_rl_intra, ff_mpeg4_static_rl_table_store[0]);
|
||||
init_rl(&ff_h263_rl_inter, ff_h263_static_rl_table_store[0]);
|
||||
|
||||
init_uni_mpeg4_rl_tab(&ff_mpeg4_rl_intra, uni_mpeg4_intra_rl_bits, uni_mpeg4_intra_rl_len);
|
||||
init_uni_mpeg4_rl_tab(&ff_h263_rl_inter, uni_mpeg4_inter_rl_bits, uni_mpeg4_inter_rl_len);
|
||||
|
Loading…
Reference in New Issue
Block a user