mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
dv: Initialize encoder tables during encoder init.
This commit is contained in:
parent
f2e4465522
commit
2b98377935
@ -294,8 +294,6 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx)
|
||||
ff_dv_rl_vlc[i].run = run;
|
||||
}
|
||||
ff_free_vlc(&dv_vlc);
|
||||
|
||||
dv_vlc_map_tableinit();
|
||||
}
|
||||
|
||||
/* Generic DSP setup */
|
||||
@ -338,6 +336,8 @@ static av_cold int dvvideo_init_encoder(AVCodecContext *avctx)
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
||||
dv_vlc_map_tableinit();
|
||||
|
||||
return ff_dvvideo_init(avctx);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user