[FFmpeg-cvslog] avfilter/vf_noise: unbreak filter when inline assembly is not present

Paul B Mahol git at videolan.org
Thu Sep 12 16:56:25 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Sep 12 14:54:10 2013 +0000| [3eba83daedaf9f57681fc2aca1e3d4032759aee6] | committer: Paul B Mahol

avfilter/vf_noise: unbreak filter when inline assembly is not present

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3eba83daedaf9f57681fc2aca1e3d4032759aee6
---

 libavfilter/vf_noise.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavfilter/vf_noise.c b/libavfilter/vf_noise.c
index 5fdaf9e..9e82976 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;



More information about the ffmpeg-cvslog mailing list