codecs: vp9statefulparser: not init segmentation_abs_or_delta_update.

The segmentation_abs_or_delta_update is a stateful var, it should not
be inited every time when parsing the segmentation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2403>
This commit is contained in:
He Junyan 2021-07-12 23:25:02 +08:00 committed by GStreamer Marge Bot
parent 051b5de39e
commit 55ccc581b2

View file

@ -691,7 +691,6 @@ parse_segmentation_params (GstBitReader * br, GstVp9SegmentationParams * params)
params->segmentation_update_map = 0;
params->segmentation_update_data = 0;
params->segmentation_temporal_update = 0;
params->segmentation_abs_or_delta_update = 0;
VP9_READ_BIT (params->segmentation_enabled);
if (!params->segmentation_enabled)