X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fx86%2Fvf_yadif_init.c;h=c36a2d010ecbb735b2410ff9af4bfc13abf26bae;hb=45ae2997858d408b140d0f785dbb0f09369b7367;hp=1460a642c38d1111d65d4d9ba564713a9185ede2;hpb=1789e46d34c11da6067f7035f9221ecc49e79552;p=ffmpeg diff --git a/libavfilter/x86/vf_yadif_init.c b/libavfilter/x86/vf_yadif_init.c index 1460a642c38..c36a2d010ec 100644 --- a/libavfilter/x86/vf_yadif_init.c +++ b/libavfilter/x86/vf_yadif_init.c @@ -62,7 +62,7 @@ av_cold void ff_yadif_init_x86(YADIFContext *yadif) { int cpu_flags = av_get_cpu_flags(); int bit_depth = (!yadif->csp) ? 8 - : yadif->csp->comp[0].depth_minus1 + 1; + : yadif->csp->comp[0].depth; if (bit_depth >= 15) { #if ARCH_X86_32