summaryrefslogtreecommitdiff
path: root/libavfilter/vf_noise.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-12 14:54:10 +0000
committerPaul B Mahol <onemda@gmail.com>2013-09-12 14:54:10 +0000
commit3eba83daedaf9f57681fc2aca1e3d4032759aee6 (patch)
treeae74d3c5f31775b5c937ee1868fa82aa6607c7ad /libavfilter/vf_noise.c
parentf144168d9b7c20f4dc522a5a407c759b3a850c70 (diff)
avfilter/vf_noise: unbreak filter when inline assembly is not present
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_noise.c')
-rw-r--r--libavfilter/vf_noise.c3
1 files changed, 3 insertions, 0 deletions
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;