Browse Source

swr: use &~15

Idea-by: reimar (and ubitux on IRC)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
c8553bea9e
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>>4)<<4;
off = len&~15;
av_assert1(off>=0);
av_assert1(off<=len);
if(off>0){


Loading…
Cancel
Save