History

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

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

Ganesh Ajjanagadde committed 11 years ago

Commit 907373e1 parent 92b1a0f1 file · +1 −1Browse files

Unified · Split

libavcodec/x86/v210-init.c+1−1
@@ -27,9 +27,9 @@ extern void ff_v210_planar_unpack_aligned_avx(const uint32_t *src, uint16_t *y, · 26 unmodified lines
2727
2828 av_cold void ff_v210_x86_init(V210DecContext *s)
2929 {
30+#if HAVE_YASM
3031 int cpu_flags = av_get_cpu_flags();
3132
32−#if HAVE_YASM
3333 if (s->aligned_input) {
3434 if (cpu_flags & AV_CPU_FLAG_SSSE3)
3535 s->unpack_frame = ff_v210_planar_unpack_aligned_ssse3;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t