Browse Source

avcodec/x86/v210-init: fix unused variable warning

Fixes a -Wunused-variable while compiling with --disable-yasm on x86

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Ganesh Ajjanagadde Michael Niedermayer 10 years ago
parent
commit
907373ea9d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/x86/v210-init.c

+ 1
- 1
libavcodec/x86/v210-init.c View File

@@ -27,9 +27,9 @@ extern void ff_v210_planar_unpack_aligned_avx(const uint32_t *src, uint16_t *y,

av_cold void ff_v210_x86_init(V210DecContext *s)
{
#if HAVE_YASM
int cpu_flags = av_get_cpu_flags();

#if HAVE_YASM
if (s->aligned_input) {
if (cpu_flags & AV_CPU_FLAG_SSSE3)
s->unpack_frame = ff_v210_planar_unpack_aligned_ssse3;


Loading…
Cancel
Save