changeset 10649:a34d38ec5a0b libavcodec

Check transform==15 first, since it's more common than 13. Patch by Dark Shikari
author cehoyos
date Sun, 06 Dec 2009 15:31:58 +0000
parents b5644bcfff48
children e267d3e4b964
files vp3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vp3.c	Sun Dec 06 15:30:53 2009 +0000
+++ b/vp3.c	Sun Dec 06 15:31:58 2009 +0000
@@ -1366,7 +1366,7 @@
 
                     /* check for outranging on the [ul u l] and
                      * [ul u ur l] predictors */
-                    if ((transform == 13) || (transform == 15)) {
+                    if ((transform == 15) || (transform == 13)) {
                         if (FFABS(predicted_dc - vu) > 128)
                             predicted_dc = vu;
                         else if (FFABS(predicted_dc - vl) > 128)