From 8e944891ce95ec8cf9f492d41cb9dac869449210 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 24 Mar 2013 02:21:42 +0100 Subject: avutil/buffer: remove redundant memory poisoning Found-by: ubitux Signed-off-by: Michael Niedermayer --- libavutil/buffer.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavutil') 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); -- cgit v1.2.3