mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
vaapidecode: initialize variable
Coverity scan bug: The variable will contain an arbitrary value left from earlier computations. Variable base_only is fetched from base-only property, and it may be not assigned. It needs to be initialized.
This commit is contained in:
parent
775f912247
commit
0b3ca62632
1 changed files with 1 additions and 1 deletions
|
@ -1175,7 +1175,7 @@ gst_vaapidecode_ensure_allowed_sinkpad_caps (GstVaapiDecode * decode)
|
|||
GstCaps *caps, *allowed_sinkpad_caps;
|
||||
GArray *profiles;
|
||||
guint i;
|
||||
gboolean base_only;
|
||||
gboolean base_only = FALSE;
|
||||
gboolean have_high = FALSE;
|
||||
gboolean have_mvc = FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue