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:
Guillaume Desmottes 2020-05-27 09:13:17 +02:00
parent 8562bb304d
commit 887416db4b

View file

@ -1396,7 +1396,7 @@ static gboolean
gst_dvd_read_src_do_duration_query (GstDvdReadSrc * src, GstQuery * query)
{
GstFormat format;
gint64 val;
gint64 val = 0;
gst_query_parse_duration (query, &format, NULL);