va: vp8: fix the overflow in _fill_quant_matrix().
authorHe Junyan <junyan.he@intel.com>
Thu, 29 Jul 2021 10:05:35 +0000 (18:05 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 29 Jul 2021 20:28:20 +0000 (20:28 +0000)
commit42ed4c85fc42aef87e9d78a08dfc0bdcdecb513c
tree3cfe6cd47a5ce580fc1a622f092eb310a89291e6
parent554855f87fca8acd9b18c5374bd2cbaff61d8dc5
va: vp8: fix the overflow in _fill_quant_matrix().

The gint8 of qi and qi_base may overflow when calculation the matrix
parameters and change the decoding result.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2447>
sys/va/gstvavp8dec.c