[FFmpeg-cvslog] r20749 - trunk/libavcodec/vp3.c
cehoyos
subversion
Sun Dec 6 16:31:58 CET 2009
Author: cehoyos
Date: Sun Dec 6 16:31:58 2009
New Revision: 20749
Log:
Check transform==15 first, since it's more common than 13.
Patch by Dark Shikari
Modified:
trunk/libavcodec/vp3.c
Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c Sun Dec 6 16:30:53 2009 (r20748)
+++ trunk/libavcodec/vp3.c Sun Dec 6 16:31:58 2009 (r20749)
@@ -1366,7 +1366,7 @@ static void reverse_dc_prediction(Vp3Dec
/* 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)
More information about the ffmpeg-cvslog
mailing list