use av_malloc() functions - added av_strdup and av_realloc()
[ffmpeg.git] / libavcodec / imgconvert.c
index 218c844b390c09a876e4030bd98de02fc6431c4b..40538c61f4ab8a1a44c076f316d0f0be3b35fb90 100644 (file)
@@ -1071,7 +1071,7 @@ static int avpicture_alloc(AVPicture *picture,
 
 static void avpicture_free(AVPicture *picture)
 {
-    free(picture->data[0]);
+    av_free(picture->data[0]);
 }
 
 /* XXX: always use linesize. Return -1 if not supported */