av12json: silence a maybe-unitialized warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
Matthew Waters 2024-11-13 16:58:15 +11:00
parent e2d143f65d
commit 382ed4630e

View file

@ -869,7 +869,7 @@ gst_av1_2_json_chain (GstPad * sinkpad, GstObject * object, GstBuffer * in_buf)
{ {
GstAV12json *self = GST_AV1_2_JSON (object); GstAV12json *self = GST_AV1_2_JSON (object);
JsonObject *json = self->json; JsonObject *json = self->json;
GstAV1ParserResult pres; GstAV1ParserResult pres = GST_AV1_PARSER_OK;
GstAV1OBU obu; GstAV1OBU obu;
GstBuffer *out_buf; GstBuffer *out_buf;
gchar *json_string; gchar *json_string;