Commit a3398feb authored by Cédric Schieli's avatar Cédric Schieli

Fix bug introduced by me in r28756

Originally committed as revision 28825 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent e6586575
...@@ -922,7 +922,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t * ...@@ -922,7 +922,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t *
switch(c->dstFormat){ switch(c->dstFormat){
case PIX_FMT_ARGB: case PIX_FMT_ARGB:
dest++; dest++;
aidx= -1; aidx= 0;
case PIX_FMT_RGB24: case PIX_FMT_RGB24:
aidx--; aidx--;
case PIX_FMT_RGBA: case PIX_FMT_RGBA:
...@@ -936,7 +936,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t * ...@@ -936,7 +936,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t *
break; break;
case PIX_FMT_ABGR: case PIX_FMT_ABGR:
dest++; dest++;
aidx= -1; aidx= 0;
case PIX_FMT_BGR24: case PIX_FMT_BGR24:
aidx--; aidx--;
case PIX_FMT_BGRA: case PIX_FMT_BGRA:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment