mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 14:32:31 +00:00
msdkdec: Fix uninitialized variables
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1731>
This commit is contained in:
parent
e1090c152c
commit
b41c70aed5
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ gst_msdkdec_set_src_caps (GstMsdkDec * thiz, gboolean need_allocation)
|
||||||
GstVideoFormat format;
|
GstVideoFormat format;
|
||||||
guint width, height;
|
guint width, height;
|
||||||
guint alloc_w, alloc_h;
|
guint alloc_w, alloc_h;
|
||||||
int out_width, out_height;
|
int out_width = 0, out_height = 0;
|
||||||
const gchar *format_str;
|
const gchar *format_str;
|
||||||
GstStructure *outs = NULL;
|
GstStructure *outs = NULL;
|
||||||
const gchar *out_format;
|
const gchar *out_format;
|
||||||
|
|
Loading…
Reference in a new issue