summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-23 23:03:09 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-23 23:03:09 +0000
commit8e1e6f31c142aeb27d3dd7df539c47b35d7eb903 (patch)
treea1e73532f1654c52016b9ccaf233aa4add95dfd3 /libavcodec/imgconvert.c
parent47e2a6e6c521a007f78b23ed554a1b81defef936 (diff)
use av_malloc() functions - added av_strdup and av_realloc()
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index 218c844b39..40538c61f4 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -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 */