OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058c002
)
avutil/buffer: remove redundant memory poisoning
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Mar 2013 01:21:42 +0000
(
02:21
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Mar 2013 01:21:42 +0000
(
02:21
+0100)
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/buffer.c
patch
|
blob
|
history
diff --git
a/libavutil/buffer.c
b/libavutil/buffer.c
index
592527c
..
bccf089
100644
(file)
--- 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);