OSDN Git Service

Add a av_fast_malloc function and replace several uses of av_fast_realloc,
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 12 Apr 2009 13:17:37 +0000 (13:17 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 12 Apr 2009 13:17:37 +0000 (13:17 +0000)
commit238ef6dadd13b9a867eaa7382bdba751e25c40b9
treeac0228289581351403ee3f1d9ad187919d498fbb
parent9bf993a5b5f8bf10c590d83c795467606f92cf6e
Add a av_fast_malloc function and replace several uses of av_fast_realloc,
thus avoiding potential memleaks and pointless memcpys.

Originally committed as revision 18470 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/4xm.c
libavcodec/asv1.c
libavcodec/avcodec.h
libavcodec/eatqi.c
libavcodec/h263dec.c
libavcodec/h264.c
libavcodec/huffyuv.c
libavcodec/mdec.c
libavcodec/mimic.c
libavcodec/motionpixels.c
libavcodec/utils.c