Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-24 05:21:42 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-03-24 05:21:42 +0400
commit8e944891ce95ec8cf9f492d41cb9dac869449210 (patch)
treec69aa26dbc1da55b98b8036061b34994b5cbf66c /libavutil/buffer.c
parent058c0029322f63728b4e9e35c6f110e05a17d065 (diff)
avutil/buffer: remove redundant memory poisoning
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/buffer.c')
-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);