projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272e9b2
)
fixed: this memcpy in CAudioDecoder should be a memmove
author
bobo1on1
<bob-nospam-@xbmc.org>
Thu, 3 Feb 2011 19:36:57 +0000
(20:36 +0100)
committer
theuni
<theuni-nospam-@xbmc.org>
Fri, 4 Feb 2011 18:10:11 +0000
(13:10 -0500)
(cherry picked from commit
5b8046cdab7a1c1e9d8daf0f0360269eeffb1f5a
)
xbmc/cores/paplayer/AudioDecoder.cpp
patch
|
blob
|
history
diff --git
a/xbmc/cores/paplayer/AudioDecoder.cpp
b/xbmc/cores/paplayer/AudioDecoder.cpp
index
71ee35c
..
6780ab4
100644
(file)
--- a/
xbmc/cores/paplayer/AudioDecoder.cpp
+++ b/
xbmc/cores/paplayer/AudioDecoder.cpp
@@
-155,7
+155,7
@@
void *CAudioDecoder::GetData(unsigned int size)
if (m_gaplessBufferSize > size)
{
memcpy(m_outputBuffer, m_gaplessBuffer, size*sizeof(float));
- mem
cpy
(m_gaplessBuffer, m_gaplessBuffer + size, (m_gaplessBufferSize - size)*sizeof(float));
+ mem
move
(m_gaplessBuffer, m_gaplessBuffer + size, (m_gaplessBufferSize - size)*sizeof(float));
m_gaplessBufferSize -= size;
return m_outputBuffer;
}