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:
a55fbfa
)
avcodec/takdec: Use memove, avoid undefined memcpy() use
author
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 7 Nov 2015 19:05:27 +0000
(20:05 +0100)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 7 Nov 2015 20:30:07 +0000
(21:30 +0100)
Fixes:
e214333cbd94c91228e624ff39329ce6
/asan_generic_4a5159_6412_96cda2530e80607210ab41ccae3d456d.tak
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/takdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/takdec.c
b/libavcodec/takdec.c
index
e5c0723
..
dc0449e
100644
(file)
--- a/
libavcodec/takdec.c
+++ b/
libavcodec/takdec.c
@@
-645,7
+645,7
@@
static int decorrelate(TAKDecContext *s, int c1, int c2, int length)
*p1++ = v;
}
- mem
cpy
(s->residues, &s->residues[tmp], 2 * filter_order);
+ mem
move
(s->residues, &s->residues[tmp], 2 * filter_order);
}
emms_c();