summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/buffer.c3
1 files changed, 0 insertions, 3 deletions
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);