diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2009-12-06 15:31:58 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-12-06 15:31:58 +0000 |
commit | c11cb375207751ff1defc0a0493efe0d63a92651 (patch) | |
tree | 6eee0cf26a2b600949d26afd89c6c6fcf59c1cdf /libavcodec | |
parent | 306a61b33e333e2e288e5d4ded95a0252efc3a3c (diff) | |
download | ffmpeg-c11cb375207751ff1defc0a0493efe0d63a92651.tar.gz |
Check transform==15 first, since it's more common than 13.
Patch by Dark Shikari
Originally committed as revision 20749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index cdf8e00d01..cc5bc3c01f 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1366,7 +1366,7 @@ static void reverse_dc_prediction(Vp3DecodeContext *s, /* 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) |