From: Michael Niedermayer Date: Sun, 24 Mar 2013 01:21:42 +0000 (+0100) Subject: avutil/buffer: remove redundant memory poisoning X-Git-Tag: android-x86-4.4-r1~4851 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8e944891ce95ec8cf9f492d41cb9dac869449210;p=android-x86%2Fexternal-ffmpeg.git avutil/buffer: remove redundant memory poisoning Found-by: ubitux Signed-off-by: Michael Niedermayer --- diff --git a/libavutil/buffer.c b/libavutil/buffer.c index 592527cff4..bccf089aca 100644 --- a/libavutil/buffer.c +++ b/libavutil/buffer.c @@ -71,9 +71,6 @@ AVBufferRef *av_buffer_alloc(int size) if (!data) return NULL; - if(CONFIG_MEMORY_POISONING) - memset(data, 0x2a, size); - ret = av_buffer_create(data, size, av_buffer_default_free, NULL, 0); if (!ret) av_freep(&data);