Browse Source

avcodec/x86/vp9dsp_init: Fix mix of declaration and statement

Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
cc77bb09e4
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      libavcodec/x86/vp9dsp_init.c

+ 3
- 2
libavcodec/x86/vp9dsp_init.c View File

@@ -309,10 +309,11 @@ ipred_func(32, tm, avx2);

av_cold void ff_vp9dsp_init_x86(VP9DSPContext *dsp, int bpp)
{
#if HAVE_YASM
int cpu_flags;
if (bpp != 8) return;

#if HAVE_YASM
int cpu_flags = av_get_cpu_flags();
cpu_flags = av_get_cpu_flags();

#define init_fpel(idx1, idx2, sz, type, opt) \
dsp->mc[idx1][FILTER_8TAP_SMOOTH ][idx2][0][0] = \


Loading…
Cancel
Save