]> git.sesse.net Git - ffmpeg/commit
vc2enc: zero padding of the coefficient buffer
authorLynne <dev@lynne.ee>
Tue, 17 Dec 2019 14:56:33 +0000 (14:56 +0000)
committerLynne <dev@lynne.ee>
Tue, 17 Dec 2019 14:56:33 +0000 (14:56 +0000)
commit377a095dc37222a373fba00579145e77629a5e81
treeaab5acf0cfcfe07c7ce49a9971837370cd224e44
parent3530fdc78ed8ca6f246dcaeb761bea0f5b76fc44
vc2enc: zero padding of the coefficient buffer

Wavelet types with large amounts of overreading/writing like 9_7 would
write into the padding at high wavelet depths, which would remain and be
read by the next frame's transform and quickly cause artifacts to appear
for subsequent frames.
This fix affects all frames encoded with a non-power-of-two width, with
the artifacts varying between non-observable to very noticeable,
depending on encoder settings, so reencoding is advisable.
libavcodec/vc2enc.c