]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/x86/vf_yadif_init.c
Merge commit '6b652c0273d79f2e0c52ad91450bd0737cf3c8a6'
[ffmpeg] / libavfilter / x86 / vf_yadif_init.c
index 1460a642c38d1111d65d4d9ba564713a9185ede2..c36a2d010ecbb735b2410ff9af4bfc13abf26bae 100644 (file)
@@ -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