aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/imgconvert.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-05-18 23:03:29 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-05-18 23:03:29 +0000
commit6000abfa89295801abb8525e6fe7e13dbcc36610 (patch)
tree3ebb212898b99c09eb1dd3a1714cc5c8f617bff3 /libavcodec/imgconvert.c
parent4cc281d9d970b0b004f20ee76cae427f374bd082 (diff)
downloadffmpeg-6000abfa89295801abb8525e6fe7e13dbcc36610.tar.gz
removed useless header includes - use av memory functions
Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index b3f9a367bf..e120fc668d 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -481,7 +481,7 @@ static void deinterlace_bottom_field(UINT8 *dst, int dst_wrap,
int y, y1, i;
UINT8 *buf;
- buf= (UINT8*) malloc(5 * width);
+ buf = (UINT8*)av_malloc(5 * width);
src = src1;
for(y=0;y<height;y+=2) {
@@ -511,7 +511,7 @@ static void deinterlace_bottom_field(UINT8 *dst, int dst_wrap,
dst += dst_wrap;
src += (2 + 1) * src_wrap;
}
- free(buf);
+ av_free(buf);
}