]> git.sesse.net Git - ffmpeg/commit
avcodec/motionpixels: Be more strict when parsing Huffman trees
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 29 Oct 2020 09:41:01 +0000 (10:41 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 24 Nov 2020 10:35:03 +0000 (11:35 +0100)
commit3d95b1a8285240f150853d4a823bc225fd3f6544
tree10f1a22447a181355c9d1c1abcf6f5a7624b9511
parente246ea2535da863be83d94c2da3248367f5c0684
avcodec/motionpixels: Be more strict when parsing Huffman trees

This ensures that the number of leafs in the Huffman tree equals the
number it is supposed to be and therefore ensures that the VLC tree is
complete, allowing us to remove checks.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/motionpixels.c