X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fx86%2Fvf_bwdif_init.c;h=b1e70b3bc680d87faff8fd3940fd8639fef8625e;hb=c67d2a287502845baadf986a9c63e6117a25be3f;hp=1cb8438e5f6f3d241ebca3d114dee5146fef7325;hpb=061337a073236cb0bc6c56036f50f883d2887681;p=ffmpeg diff --git a/libavfilter/x86/vf_bwdif_init.c b/libavfilter/x86/vf_bwdif_init.c index 1cb8438e5f6..b1e70b3bc68 100644 --- a/libavfilter/x86/vf_bwdif_init.c +++ b/libavfilter/x86/vf_bwdif_init.c @@ -53,8 +53,9 @@ void ff_bwdif_filter_line_12bit_ssse3(void *dst, void *prev, void *cur, void *ne av_cold void ff_bwdif_init_x86(BWDIFContext *bwdif) { + YADIFContext *yadif = &bwdif->yadif; int cpu_flags = av_get_cpu_flags(); - int bit_depth = (!bwdif->csp) ? 8 : bwdif->csp->comp[0].depth; + int bit_depth = (!yadif->csp) ? 8 : yadif->csp->comp[0].depth; if (bit_depth <= 8) { #if ARCH_X86_32