diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-23 10:58:14 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-23 10:58:14 +0000 |
commit | 01c201dbe8d6a18634bf86bf4d648344ed496d91 (patch) | |
tree | 572e1a9be9c97f6b46370bd3b8b6ab8e30b2c5f4 /postproc | |
parent | 0f889e9f64dd6f660a2b176b7d35c962f89ba072 (diff) | |
download | mpv-01c201dbe8d6a18634bf86bf4d648344ed496d91.tar.bz2 mpv-01c201dbe8d6a18634bf86bf4d648344ed496d91.tar.xz |
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/postprocess_template.c | 5 | ||||
-rw-r--r-- | postproc/swscale_template.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/postproc/postprocess_template.c b/postproc/postprocess_template.c index 3289bb18f8..a75c9b4dc8 100644 --- a/postproc/postprocess_template.c +++ b/postproc/postprocess_template.c @@ -2658,7 +2658,10 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int int black=0, white=255; // blackest black and whitest white in the picture int QPCorrecture= 256*256; - int copyAhead, i; + int copyAhead; +#ifdef HAVE_MMX + int i; +#endif //FIXME remove uint64_t * const yHistogram= c.yHistogram; diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index 0bc0457717..1f64218eaa 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -1256,7 +1256,9 @@ YSCALE_YUV_2_ANYRGB_C(YSCALE_YUV_2_RGB2_C, YSCALE_YUV_2_PACKED2_C) static inline void RENAME(yuv2packed1)(SwsContext *c, uint16_t *buf0, uint16_t *uvbuf0, uint16_t *uvbuf1, uint8_t *dest, int dstW, int uvalpha, int dstFormat, int flags, int y) { +#ifdef HAVE_MMX int uvalpha1=uvalpha^4095; +#endif const int yalpha1=0; int i; |