summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libswresample/audioconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/audioconvert.c b/libswresample/audioconvert.c
index c531356..3663bb1 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/16 * 16;
+ off = (len>>4)<<4;
av_assert1(off>=0);
av_assert1(off<=len);
if(off>0){
OpenPOWER on IntegriCloud