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

michael subversion
Thu Sep 11 16:40:29 CEST 2008


Author: michael
Date: Thu Sep 11 16:40:29 2008
New Revision: 27581

Log:
Remove mistakely commited code i used for testing.


Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Thu Sep 11 16:40:29 2008
@@ -2073,13 +2073,6 @@ SwsContext *sws_getContext(int srcW, int
         av_log(NULL, AV_LOG_ERROR, "swScaler: Exactly one scaler algorithm must be choosen\n");
         return NULL;
     }
-if(   dstFormat != PIX_FMT_RGB32 //HACK
-   && dstFormat != PIX_FMT_RGB32_1
-   && dstFormat != PIX_FMT_RGB24
-   && dstFormat != PIX_FMT_BGR24
-   && dstFormat != PIX_FMT_BGR32
-   && dstFormat != PIX_FMT_BGR32_1)
-    flags &= ~SWS_FULL_CHR_H_INT;
 
     /* sanity check */
     if (srcW<4 || srcH<1 || dstW<8 || dstH<1) //FIXME check if these are enough and try to lowwer them after fixing the relevant parts of the code




More information about the ffmpeg-cvslog mailing list