diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-27 10:57:29 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-27 10:57:29 +0000 |
commit | a7146f55512718e39fc36a8d192cd566b376500e (patch) | |
tree | 175c0037ceb7275b0c3b644ea4b1d9e025bbeaba /libmpcodecs | |
parent | 081b69939338ed8b32af023e7f3a7a0ede9f26dc (diff) |
Zero fill ass_settings_t before use.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19556 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_ass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/vf_ass.c b/libmpcodecs/vf_ass.c index 6515fd37c5..131f7324de 100644 --- a/libmpcodecs/vf_ass.c +++ b/libmpcodecs/vf_ass.c @@ -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; |