ffmpeg | branch: master | Ganesh Ajjanagadde <[email protected]> | Fri Aug 21 09:57:50 2015 -0400| [907373ea9d23f782d438dd18babfd75cb5ab305a] | committer: Michael Niedermayer
avcodec/x86/v210-init: fix unused variable warning Fixes a -Wunused-variable while compiling with --disable-yasm on x86 Signed-off-by: Ganesh Ajjanagadde <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=907373ea9d23f782d438dd18babfd75cb5ab305a --- libavcodec/x86/v210-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/v210-init.c b/libavcodec/x86/v210-init.c index dfdfd26..f579307 100644 --- a/libavcodec/x86/v210-init.c +++ b/libavcodec/x86/v210-init.c @@ -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; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
