[FFmpeg-cvslog] r28825 - trunk/libswscale/swscale.c

sdrik subversion
Thu Mar 5 22:02:33 CET 2009


Author: sdrik
Date: Thu Mar  5 22:02:33 2009
New Revision: 28825

Log:
Fix bug introduced by me in r28756

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Thu Mar  5 21:47:33 2009	(r28824)
+++ trunk/libswscale/swscale.c	Thu Mar  5 22:02:33 2009	(r28825)
@@ -922,7 +922,7 @@ static inline void yuv2rgbXinC_full(SwsC
     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(SwsC
         break;
     case PIX_FMT_ABGR:
         dest++;
-        aidx= -1;
+        aidx= 0;
     case PIX_FMT_BGR24:
         aidx--;
     case PIX_FMT_BGRA:




More information about the ffmpeg-cvslog mailing list