From 3eba83daedaf9f57681fc2aca1e3d4032759aee6 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 12 Sep 2013 14:54:10 +0000 Subject: [PATCH] avfilter/vf_noise: unbreak filter when inline assembly is not present Signed-off-by: Paul B Mahol --- libavfilter/vf_noise.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_noise.c b/libavfilter/vf_noise.c index 5fdaf9e0c0..9e82976a82 100644 --- a/libavfilter/vf_noise.c +++ b/libavfilter/vf_noise.c @@ -432,6 +432,9 @@ static av_cold int init(AVFilterContext *ctx) return ret; } + n->line_noise = line_noise_c; + n->line_noise_avg = line_noise_avg_c; + if (HAVE_MMX_INLINE && cpu_flags & AV_CPU_FLAG_MMX) { n->line_noise = line_noise_mmx;