Commit c8553bea authored by Michael Niedermayer's avatar Michael Niedermayer

swr: use &~15

Idea-by: reimar (and ubitux on IRC)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4289b669
......@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment