mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-09 14:08:07 +00:00
swr: replace /16 by >>4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
359abb18cf
commit
4289b6690d
@ -175,7 +175,7 @@ int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len
|
|||||||
//FIXME optimize common cases
|
//FIXME optimize common cases
|
||||||
|
|
||||||
if(ctx->simd_f && !ctx->ch_map){
|
if(ctx->simd_f && !ctx->ch_map){
|
||||||
off = len/16 * 16;
|
off = (len>>4)<<4;
|
||||||
av_assert1(off>=0);
|
av_assert1(off>=0);
|
||||||
av_assert1(off<=len);
|
av_assert1(off<=len);
|
||||||
if(off>0){
|
if(off>0){
|
||||||
|
Loading…
Reference in New Issue
Block a user