changeset 27549:60d6783b2157

Remove mistakenly commited code I used for testing.
author michael
date Thu, 11 Sep 2008 14:40:29 +0000
parents 78da4c8b2293
children 3f12d34131a9
files libswscale/swscale.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Thu Sep 11 14:39:12 2008 +0000
+++ b/libswscale/swscale.c	Thu Sep 11 14:40:29 2008 +0000
@@ -2073,13 +2073,6 @@
         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