diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-01 20:15:21 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-05-01 20:15:21 +0000 |
commit | cc8b6a93a43f2d5c6e93b7980d4eba1739ff87bc (patch) | |
tree | 51df4188a8a5dc1bb2ba79f1bdc64f243615bbaf /postproc/swscale.c | |
parent | 6a3e54b5f1dbfc815f7adc723fa82be9c763855f (diff) | |
download | mpv-cc8b6a93a43f2d5c6e93b7980d4eba1739ff87bc.tar.bz2 mpv-cc8b6a93a43f2d5c6e93b7980d4eba1739ff87bc.tar.xz |
this isn't actually stupid, but it's not valid C and gcc 3.5 rejects it as such
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12386 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale.c')
-rw-r--r-- | postproc/swscale.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c index 68f828dbab..f1c9bdb25d 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -356,7 +356,7 @@ static inline void yuv2yuvXinC(int16_t *lumFilter, int16_t **lumSrc, int lumFilt ((uint8_t*)dest)[3]= r[Y2];\ ((uint8_t*)dest)[4]= g[Y2];\ ((uint8_t*)dest)[5]= b[Y2];\ - ((uint8_t*)dest)+=6;\ + dest+=6;\ }\ break;\ case IMGFMT_BGR24:\ @@ -367,7 +367,7 @@ static inline void yuv2yuvXinC(int16_t *lumFilter, int16_t **lumSrc, int lumFilt ((uint8_t*)dest)[3]= b[Y2];\ ((uint8_t*)dest)[4]= g[Y2];\ ((uint8_t*)dest)[5]= r[Y2];\ - ((uint8_t*)dest)+=6;\ + dest+=6;\ }\ break;\ case IMGFMT_RGB16:\ @@ -449,7 +449,7 @@ static inline void yuv2yuvXinC(int16_t *lumFilter, int16_t **lumSrc, int lumFilt acc+= acc + g[((buf0[i+6]*yalpha1+buf1[i+6]*yalpha)>>19) + d128[6]];\ acc+= acc + g[((buf0[i+7]*yalpha1+buf1[i+7]*yalpha)>>19) + d128[7]];\ ((uint8_t*)dest)[0]= acc;\ - ((uint8_t*)dest)++;\ + dest++;\ }\ \ /*\ @@ -539,7 +539,7 @@ static inline void yuv2packedXinC(SwsContext *c, int16_t *lumFilter, int16_t **l ((uint8_t*)dest)[3]= r[Y2]; ((uint8_t*)dest)[4]= g[Y2]; ((uint8_t*)dest)[5]= b[Y2]; - ((uint8_t*)dest)+=6; + dest+=6; } break; case IMGFMT_BGR24: @@ -550,7 +550,7 @@ static inline void yuv2packedXinC(SwsContext *c, int16_t *lumFilter, int16_t **l ((uint8_t*)dest)[3]= b[Y2]; ((uint8_t*)dest)[4]= g[Y2]; ((uint8_t*)dest)[5]= r[Y2]; - ((uint8_t*)dest)+=6; + dest+=6; } break; case IMGFMT_RGB16: @@ -645,7 +645,7 @@ static inline void yuv2packedXinC(SwsContext *c, int16_t *lumFilter, int16_t **l acc+= acc + g[Y2+d128[(i+1)&7]]; if((i&7)==6){ ((uint8_t*)dest)[0]= acc; - ((uint8_t*)dest)++; + dest++; } } } |