comparison libmpcodecs/vf_pp.c @ 34695:f7cef684f2a0

vf_pp: free private structure.
author cigaes
date Sat, 03 Mar 2012 13:44:46 +0000
parents e5e8f5bc088c
children
comparison
equal deleted inserted replaced
34694:daa5747a88bb 34695:f7cef684f2a0
78 for(i=0; i<=PP_QUALITY_MAX; i++){ 78 for(i=0; i<=PP_QUALITY_MAX; i++){
79 if(vf->priv->ppMode[i]) 79 if(vf->priv->ppMode[i])
80 pp_free_mode(vf->priv->ppMode[i]); 80 pp_free_mode(vf->priv->ppMode[i]);
81 } 81 }
82 if(vf->priv->context) pp_free_context(vf->priv->context); 82 if(vf->priv->context) pp_free_context(vf->priv->context);
83 free(vf->priv);
83 } 84 }
84 85
85 static int query_format(struct vf_instance *vf, unsigned int fmt){ 86 static int query_format(struct vf_instance *vf, unsigned int fmt){
86 switch(fmt){ 87 switch(fmt){
87 case IMGFMT_YV12: 88 case IMGFMT_YV12: