mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-07-11 23:27:55 +02:00
swr: use &~15
Idea-by: reimar (and ubitux on IRC) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4289b6690d
commit
c8553bea9e
@ -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>>4)<<4;
|
off = len&~15;
|
||||||
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