mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-08 16:54:03 +02:00
avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable
This commit is contained in:
parent
309c3a0e81
commit
e320f9576a
@ -688,7 +688,7 @@ static void do_output16(BM3DContext *s, uint8_t *dst, int dst_linesize,
|
||||
sum_den += den;
|
||||
}
|
||||
|
||||
dstp[j] = av_clip_uintp2(sum_num / sum_den, depth);
|
||||
dstp[j] = av_clip_uintp2_c(sum_num / sum_den, depth);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user