diff options
author | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-11 17:10:54 +0000 |
---|---|---|
committer | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-11 17:10:54 +0000 |
commit | 79cbf2cc3980e195a25091b165bf1ad1674871ab (patch) | |
tree | 1ee019c31ed8df60ffd9f7998de744e6ea76c773 /libswscale | |
parent | 39710677648260370c32637779da79544cf3ea8b (diff) | |
download | mpv-79cbf2cc3980e195a25091b165bf1ad1674871ab.tar.bz2 mpv-79cbf2cc3980e195a25091b165bf1ad1674871ab.tar.xz |
Kill warnings of possibly unused variables by using av_unused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29355 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale_template.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index bb6a840a59..279cab034b 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2221,10 +2221,10 @@ static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth, int srcFormat, uint8_t *formatConvBuffer, uint32_t *pal, int isAlpha) { - int32_t *mmx2FilterPos = c->lumMmx2FilterPos; - int16_t *mmx2Filter = c->lumMmx2Filter; - int canMMX2BeUsed = c->canMMX2BeUsed; - void *funnyYCode = c->funnyYCode; + int32_t av_unused *mmx2FilterPos = c->lumMmx2FilterPos; + int16_t av_unused *mmx2Filter = c->lumMmx2Filter; + int av_unused canMMX2BeUsed = c->canMMX2BeUsed; + void av_unused *funnyYCode = c->funnyYCode; void (*internal_func)(uint8_t *, const uint8_t *, long, uint32_t *) = isAlpha ? c->hascale_internal : c->hyscale_internal; if (isAlpha) { @@ -2414,10 +2414,10 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth, int srcFormat, uint8_t *formatConvBuffer, uint32_t *pal) { - int32_t *mmx2FilterPos = c->chrMmx2FilterPos; - int16_t *mmx2Filter = c->chrMmx2Filter; - int canMMX2BeUsed = c->canMMX2BeUsed; - void *funnyUVCode = c->funnyUVCode; + int32_t av_unused *mmx2FilterPos = c->chrMmx2FilterPos; + int16_t av_unused *mmx2Filter = c->chrMmx2Filter; + int av_unused canMMX2BeUsed = c->canMMX2BeUsed; + void av_unused *funnyUVCode = c->funnyUVCode; if (isGray(srcFormat) || srcFormat==PIX_FMT_MONOBLACK || srcFormat==PIX_FMT_MONOWHITE) return; |