mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 19:05:33 +00:00
Zero fill ass_settings_t before use.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19556 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
081b699393
commit
a7146f5551
@ -74,6 +74,7 @@ static int config(struct vf_instance_s* vf,
|
||||
vf->priv->dirty_rows = malloc(vf->priv->outh);
|
||||
|
||||
if (vf->priv->ass_priv) {
|
||||
memset(&settings, 0, sizeof(ass_settings_t));
|
||||
settings.frame_width = vf->priv->outw;
|
||||
settings.frame_height = vf->priv->outh;
|
||||
settings.font_size_coeff = ass_font_scale;
|
||||
|
Loading…
Reference in New Issue
Block a user