diff options
Diffstat (limited to 'libavfilter/libmpcodecs/vf_perspective.c')
-rw-r--r-- | libavfilter/libmpcodecs/vf_perspective.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/libmpcodecs/vf_perspective.c b/libavfilter/libmpcodecs/vf_perspective.c index 40a7c7a073..f6c6dd60d7 100644 --- a/libavfilter/libmpcodecs/vf_perspective.c +++ b/libavfilter/libmpcodecs/vf_perspective.c @@ -108,7 +108,7 @@ static int config(struct vf_instance *vf, int i, j; vf->priv->pvStride= width; - vf->priv->pv= (void*)memalign(8, width*height*2*sizeof(int32_t)); + vf->priv->pv= av_malloc(width*height*2*sizeof(int32_t)); initPv(vf->priv, width, height); for(i=0; i<SUB_PIXELS; i++){ @@ -132,7 +132,7 @@ static int config(struct vf_instance *vf, static void uninit(struct vf_instance *vf){ if(!vf->priv) return; - free(vf->priv->pv); + av_free(vf->priv->pv); vf->priv->pv= NULL; free(vf->priv); |