aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-12 10:28:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-12 10:28:40 +0200
commitc8553bea9e05a4e246a6f4ccf3f43b0af74a847f (patch)
tree72ca4433d5dc120ad23d75f244ae108adcee1910
parent4289b6690d7af672e6c8b6e43e965337959a7a66 (diff)
downloadffmpeg-c8553bea9e05a4e246a6f4ccf3f43b0af74a847f.tar.gz
swr: use &~15
Idea-by: reimar (and ubitux on IRC) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libswresample/audioconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/audioconvert.c b/libswresample/audioconvert.c
index 3663bb17c8..e4c84cae44 100644
--- a/libswresample/audioconvert.c
+++ b/libswresample/audioconvert.c
@@ -175,7 +175,7 @@ int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len
//FIXME optimize common cases
if(ctx->simd_f && !ctx->ch_map){
- off = (len>>4)<<4;
+ off = len&~15;
av_assert1(off>=0);
av_assert1(off<=len);
if(off>0){