aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mem.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-01-19 17:55:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-01-19 17:55:13 +0000
commit6772518310e6bfc952e2ffbfa02c059ce1ca60b0 (patch)
treedade31f12749f13bea175c910f75e885553839a7 /libavcodec/mem.c
parent0e5f8ab165de3b5419bd8bba3ae338bc03be94a0 (diff)
downloadffmpeg-6772518310e6bfc952e2ffbfa02c059ce1ca60b0.tar.gz
finetuneing thresholds/factors
nicer mb decission a few minor improvements & fixes Originally committed as revision 1472 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mem.c')
-rw-r--r--libavcodec/mem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mem.c b/libavcodec/mem.c
index a9b5e0afa8..0c876a851e 100644
--- a/libavcodec/mem.c
+++ b/libavcodec/mem.c
@@ -29,6 +29,9 @@
void *av_malloc(unsigned int size)
{
void *ptr;
+
+// if(size==0) return NULL;
+
#if defined (HAVE_MEMALIGN)
ptr = memalign(16,size);
/* Why 64?