diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-12 03:08:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-12 04:01:17 +0200 |
commit | 4289b6690d7af672e6c8b6e43e965337959a7a66 (patch) | |
tree | 0401452c099389f887b809fcbeb39c4fa27e4660 /libswresample/audioconvert.c | |
parent | 359abb18cfe3a5e6db44031c5110322343b16756 (diff) | |
download | ffmpeg-4289b6690d7af672e6c8b6e43e965337959a7a66.tar.gz |
swr: replace /16 by >>4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/audioconvert.c')
-rw-r--r-- | libswresample/audioconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/audioconvert.c b/libswresample/audioconvert.c index c53135677b..3663bb17c8 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){ |