diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-09-30 02:28:28 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-03 15:24:41 +0300 |
commit | 0493e42eb2f9fbf42d0aee0b48a84f81f19fb7fa (patch) | |
tree | 842e6adbd9fa37edaa127a3808a8e199f0269394 /libavcodec/x86 | |
parent | 14221b2dd9133ac339a7ed57331ee1a7a3b3a4c4 (diff) |
avcodec/x86/hpeldsp_rnd_template: silence -Wunused-function on --disable-mmx
This silences some of the -Wunused-function warnings when compiled with --disable-mmx, e.g
http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx.
Header guards are too brittle and ugly for this case.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/hpeldsp_rnd_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/hpeldsp_rnd_template.c b/libavcodec/x86/hpeldsp_rnd_template.c index abe3bb113d..e20d0658cd 100644 --- a/libavcodec/x86/hpeldsp_rnd_template.c +++ b/libavcodec/x86/hpeldsp_rnd_template.c @@ -106,7 +106,7 @@ av_unused static void DEF(put, pixels16_x2)(uint8_t *block, const uint8_t *pixel :REG_a, "memory"); } -static void DEF(put, pixels8_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) +av_unused static void DEF(put, pixels8_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) { MOVQ_BFE(mm6); __asm__ volatile( @@ -162,7 +162,7 @@ av_unused static void DEF(avg, pixels16_x2)(uint8_t *block, const uint8_t *pixel :"memory"); } -static void DEF(avg, pixels8_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) +av_unused static void DEF(avg, pixels8_y2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) { MOVQ_BFE(mm6); __asm__ volatile( |