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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit76a886dae364c665ee83d3eac44e28062b687baa
tree3ecbbb1c344a63a35e9816411b2fa1d7495f70e5
parentf03616d2a43833cad5bda2fdf6f605aa09aa89e0
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