[vlc-devel] commit: Fix previous commit ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jan 30 14:59:07 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 30 15:59:01 2010 +0200| [ce25160047afad70eec41daab74dd26d16e9b92b] | committer: Rémi Denis-Courmont
Fix previous commit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce25160047afad70eec41daab74dd26d16e9b92b
---
modules/audio_filter/resampler/ugly.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/audio_filter/resampler/ugly.c b/modules/audio_filter/resampler/ugly.c
index 19afc4c..a1a46cf 100644
--- a/modules/audio_filter/resampler/ugly.c
+++ b/modules/audio_filter/resampler/ugly.c
@@ -109,7 +109,8 @@ static block_t *DoWork( filter_t * p_filter, block_t * p_in_buf )
while( i_out_nb )
{
- memcpy( p_out, p_in, i_sample_bytes );
+ if( p_out != p_in )
+ memcpy( p_out, p_in, i_sample_bytes );
p_out += i_sample_bytes;
i_out_nb--;
More information about the vlc-devel
mailing list