summaryrefslogtreecommitdiff
path: root/libavfilter/x86/vf_bwdif_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/x86/vf_bwdif_init.c')
-rw-r--r--libavfilter/x86/vf_bwdif_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/x86/vf_bwdif_init.c b/libavfilter/x86/vf_bwdif_init.c
index b1e70b3bc6..817bd84663 100644
--- a/libavfilter/x86/vf_bwdif_init.c
+++ b/libavfilter/x86/vf_bwdif_init.c
@@ -55,7 +55,7 @@ av_cold void ff_bwdif_init_x86(BWDIFContext *bwdif)
{
YADIFContext *yadif = &bwdif->yadif;
int cpu_flags = av_get_cpu_flags();
- int bit_depth = (!yadif->csp) ? 8 : yadif->csp->comp[0].depth;
+ int bit_depth = yadif->depth;
if (bit_depth <= 8) {
#if ARCH_X86_32