avcodec/vp3: Error out on invalid num_coeffs in unpack_vlcs()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Feb 2018 02:38:54 +0000 (03:38 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 12 Feb 2018 02:07:59 +0000 (03:07 +0100)
commit89668fa8430886823b476c13cb46e766f3cf7547
treeac64d1e861a643345ac191bb346f79a8cf949f4f
parentdd422f1b5e6ced354e0a7edae54c043a9ef4f8cf
avcodec/vp3: Error out on invalid num_coeffs in unpack_vlcs()

This fixes a hypothetical integer overflow

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f2318aee8ca8df1c84092f7d6691a2d0df02c474)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp3.c