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)