summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorIvo van Poorten <ivop@euronet.nl>2007-04-18 14:22:42 +0000
committerIvo van Poorten <ivop@euronet.nl>2007-04-18 14:22:42 +0000
commit0c4c70e5efe8d8053fff5ad8fa3003c9fdcc0c05 (patch)
tree92481d2bd7cc34337ad49214c9fcd0bb50ce375b /libswscale
parent9a79101f1e9586de57e4a95d8b802b90842b60fc (diff)
test widths all down to one. this tests whether the scalers correctly switch
to plain C when width < unit size of assembly code. Originally committed as revision 23018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-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;