[SCM] libav/experimental: Check transform==15 first, since it's more common than 13.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:55:37 UTC 2013
The following commit has been merged in the experimental branch:
commit c11cb375207751ff1defc0a0493efe0d63a92651
Author: Jason Garrett-Glaser <darkshikari at gmail.com>
Date: Sun Dec 6 15:31:58 2009 +0000
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
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index cdf8e00..cc5bc3c 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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list