Browse Source

swr: replace /16 by >>4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
4289b6690d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libswresample/audioconvert.c

+ 1
- 1
libswresample/audioconvert.c View File

@@ -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){


Loading…
Cancel
Save