avfilter/vf_noise: unbreak filter when inline assembly is not present
authorPaul B Mahol <onemda@gmail.com>
Thu, 12 Sep 2013 14:54:10 +0000 (14:54 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 12 Sep 2013 14:54:10 +0000 (14:54 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_noise.c

index 5fdaf9e..9e82976 100644 (file)
@@ -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;