1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00

swr: replace /16 by >>4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-06-12 03:08:02 +02:00
parent 359abb18cf
commit 4289b6690d

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