diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-09-19 11:39:59 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-29 19:37:26 +0200 |
commit | 308e7484a3b1954072871a4090e5c672d1097fa5 (patch) | |
tree | 002083917b5e912909bf740daad7d8436d9fbeb1 | |
parent | 01dd7e025c246d9001f1a30f4a5d8fa2936d1a5e (diff) | |
download | ffmpeg-308e7484a3b1954072871a4090e5c672d1097fa5.tar.gz |
avcodec/x86/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>
-rw-r--r-- | libavcodec/x86/rnd_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/rnd_template.c b/libavcodec/x86/rnd_template.c index c9fd71eeef..ddca4eb590 100644 --- a/libavcodec/x86/rnd_template.c +++ b/libavcodec/x86/rnd_template.c @@ -30,7 +30,7 @@ #include "inline_asm.h" // put_pixels -STATIC void DEF(put, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, +av_unused STATIC void DEF(put, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) { MOVQ_ZERO(mm7); @@ -99,7 +99,7 @@ STATIC void DEF(put, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, // avg_pixels // this routine is 'slightly' suboptimal but mostly unused -STATIC void DEF(avg, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, +av_unused STATIC void DEF(avg, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) { MOVQ_ZERO(mm7); |