codecparsers: vp9parser: Use macro to define the size of filter_level in Segmentation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2369>
This commit is contained in:
He Junyan 2021-06-30 15:32:42 +08:00 committed by GStreamer Marge Bot
parent f941673862
commit f38d944c0f

View file

@ -460,7 +460,7 @@ struct _GstVp9SuperframeInfo {
*/
struct _GstVp9Segmentation
{
guint8 filter_level[4][2];
guint8 filter_level[GST_VP9_MAX_REF_LF_DELTAS][GST_VP9_MAX_MODE_LF_DELTAS];
gint16 luma_ac_quant_scale;
gint16 luma_dc_quant_scale;
gint16 chroma_ac_quant_scale;