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, 19 Feb 2018 01:52:16 +0000 (02:52 +0100)
commit664e3d217aadba713c46404e2e8cb1d8f9c28485
tree92b5ca02468f144ddbca7ebf90732e260ca83543
parentce46e45f4cb95fbfe4a787ccfbd0cabb94e8dccb
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