summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-11 14:40:29 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-11 14:40:29 +0000
commit42643629cd217dea92468b37e1447201134755c4 (patch)
treeebe114b279ba1eb48a518e5196530932c8504dc8 /libswscale
parent6009a04a231b1c6d80605a407730c27b27f2f1ee (diff)
downloadmpv-42643629cd217dea92468b37e1447201134755c4.tar.bz2
mpv-42643629cd217dea92468b37e1447201134755c4.tar.xz
Remove mistakely commited code i used for testing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27581 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 1f2bb62bb8..83373fcffe 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2073,13 +2073,6 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
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