diff imgconvert.c @ 1031:19de1445beb2 libavcodec

use av_malloc() functions - added av_strdup and av_realloc()
author bellard
date Thu, 23 Jan 2003 23:03:09 +0000
parents e76fb91de4cc
children c6b3af81d79e
line wrap: on
line diff
--- a/imgconvert.c	Thu Jan 23 22:59:06 2003 +0000
+++ b/imgconvert.c	Thu Jan 23 23:03:09 2003 +0000
@@ -1071,7 +1071,7 @@
 
 static void avpicture_free(AVPicture *picture)
 {
-    free(picture->data[0]);
+    av_free(picture->data[0]);
 }
 
 /* XXX: always use linesize. Return -1 if not supported */