Mercurial > mplayer.hg
comparison libmpcodecs/vf_geq.c @ 32537:8fa2f43cb760
Remove most of the NULL pointer check before free all over the code
author | cboesch |
---|---|
date | Sun, 14 Nov 2010 09:12:34 +0000 |
parents | 59a6592b57b7 |
children | b86ea534cfc7 |
comparison
equal
deleted
inserted
replaced
32536:187f26cba0ce | 32537:8fa2f43cb760 |
---|---|
126 | 126 |
127 return vf_next_put_image(vf,dmpi, pts); | 127 return vf_next_put_image(vf,dmpi, pts); |
128 } | 128 } |
129 | 129 |
130 static void uninit(struct vf_instance *vf){ | 130 static void uninit(struct vf_instance *vf){ |
131 if(!vf->priv) return; | |
132 | |
133 av_free(vf->priv); | 131 av_free(vf->priv); |
134 vf->priv=NULL; | 132 vf->priv=NULL; |
135 } | 133 } |
136 | 134 |
137 //===========================================================================// | 135 //===========================================================================// |