mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
dvdreadsrc: fix uninitialized warning
Variable is always set in actual code paths but let's keep gcc happy. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/51>
This commit is contained in:
parent
8562bb304d
commit
887416db4b
1 changed files with 1 additions and 1 deletions
|
@ -1396,7 +1396,7 @@ static gboolean
|
||||||
gst_dvd_read_src_do_duration_query (GstDvdReadSrc * src, GstQuery * query)
|
gst_dvd_read_src_do_duration_query (GstDvdReadSrc * src, GstQuery * query)
|
||||||
{
|
{
|
||||||
GstFormat format;
|
GstFormat format;
|
||||||
gint64 val;
|
gint64 val = 0;
|
||||||
|
|
||||||
gst_query_parse_duration (query, &format, NULL);
|
gst_query_parse_duration (query, &format, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue