changeset 7768:f5223b78ebf6

10l bug, found by valgrind :)
author arpi
date Wed, 16 Oct 2002 23:12:00 +0000
parents c4a30ecfe1ec
children 96bc9b4a0287
files libmpcodecs/vf_expand.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_expand.c	Wed Oct 16 23:04:47 2002 +0000
+++ b/libmpcodecs/vf_expand.c	Wed Oct 16 23:12:00 2002 +0000
@@ -280,11 +280,12 @@
     vf->get_image=get_image;
     vf->put_image=put_image;
     vf->priv=malloc(sizeof(struct vf_priv_s));
-    // TODO: parse args ->
     vf->priv->exp_x=
     vf->priv->exp_y=
     vf->priv->exp_w=
     vf->priv->exp_h=-1;
+    vf->priv->osd=0;
+    //  parse args ->
     if(args) sscanf(args, "%d:%d:%d:%d:%d", 
     &vf->priv->exp_w,
     &vf->priv->exp_h,