hlsdemux2: support old compilers

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
Edward Hervey 2022-11-30 07:54:07 +01:00 committed by GStreamer Marge Bot
parent 1cede1d0cf
commit b03e68ea8c

View file

@ -1285,10 +1285,11 @@ download_media_playlist (GstHLSDemuxStream * stream, gchar * orig_uri,
GstAdaptiveDemux2Stream *base_stream = GST_ADAPTIVE_DEMUX2_STREAM (stream);
GstAdaptiveDemux *demux = base_stream->demux;
const gchar *main_uri = gst_adaptive_demux_get_manifest_ref_uri (demux);
struct PlaylistDownloadParams dl_params;
retry:
struct PlaylistDownloadParams dl_params = { 0, };
memset (&dl_params, 0, sizeof (struct PlaylistDownloadParams));
/* If there's no previous playlist, or the URI changed this
* is not a refresh/update but a switch to a new playlist */