summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorCédric Schieli <cschieli@gmail.com>2009-03-05 21:02:33 +0000
committerCédric Schieli <cschieli@gmail.com>2009-03-05 21:02:33 +0000
commita3398feb26c4a19324bdc16dfbd221532016b3a4 (patch)
treefa4c603dfa7413a54d812c64b740f385c57ae601 /libswscale/swscale.c
parente658657528d5e2bc79a42e60c1f39c6b8609f007 (diff)
downloadffmpeg-streaming-a3398feb26c4a19324bdc16dfbd221532016b3a4.zip
ffmpeg-streaming-a3398feb26c4a19324bdc16dfbd221532016b3a4.tar.gz
Fix bug introduced by me in r28756
Originally committed as revision 28825 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 7c335f1..c0f4b97 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -922,7 +922,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t *
switch(c->dstFormat){
case PIX_FMT_ARGB:
dest++;
- aidx= -1;
+ aidx= 0;
case PIX_FMT_RGB24:
aidx--;
case PIX_FMT_RGBA:
@@ -936,7 +936,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t *
break;
case PIX_FMT_ABGR:
dest++;
- aidx= -1;
+ aidx= 0;
case PIX_FMT_BGR24:
aidx--;
case PIX_FMT_BGRA:
OpenPOWER on IntegriCloud