summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-18 14:22:42 +0000
committerivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-18 14:22:42 +0000
commitecbdb909700bd5098bfebb435ae781a8d33a7936 (patch)
treee93819ccc746526daeddd5e6514948f3dc97cbc5
parent1ac1a875e6eca228dca9d18e5e756fb59f21e0a8 (diff)
downloadmpv-ecbdb909700bd5098bfebb435ae781a8d33a7936.tar.bz2
mpv-ecbdb909700bd5098bfebb435ae781a8d33a7936.tar.xz
test widths all down to one. this tests whether the scalers correctly switch
to plain C when width < unit size of assembly code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23018 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libswscale/cs_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/cs_test.c b/libswscale/cs_test.c
index 96834f898d..90c8099c30 100644
--- a/libswscale/cs_test.c
+++ b/libswscale/cs_test.c
@@ -118,7 +118,7 @@ int main(int argc, char **argv)
av_log(NULL, AV_LOG_INFO,".");
memset(srcBuffer, srcByte, SIZE);
- for(width=32; width<64; width++){
+ for(width=63; width>0; width--){
int dstOffset;
for(dstOffset=128; dstOffset<196; dstOffset+=4){
int srcOffset;