Browse Source

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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol 12 years ago
parent
commit
3eba83daed
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavfilter/vf_noise.c

+ 3
- 0
libavfilter/vf_noise.c View 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;


Loading…
Cancel
Save