mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 04:17:05 +00:00
vp3: fix streams with non-zero last coefficient
Fixes a regression introduced in 8b94df0f2047e972.
This commit is contained in:
parent
2ba65879b5
commit
9b4767e478
@ -1378,6 +1378,8 @@ static inline int vp3_dequant(Vp3DecodeContext *s, Vp3Fragment *frag,
|
|||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
} while (i < 64);
|
} while (i < 64);
|
||||||
|
// return value is expected to be a valid level
|
||||||
|
i--;
|
||||||
end:
|
end:
|
||||||
// the actual DC+prediction is in the fragment structure
|
// the actual DC+prediction is in the fragment structure
|
||||||
block[0] = frag->dc * s->qmat[0][inter][plane][0];
|
block[0] = frag->dc * s->qmat[0][inter][plane][0];
|
||||||
|
Loading…
Reference in New Issue
Block a user