From 0bec36d5faa8efe14bfa5b7c8283107ccfc0d175 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Wed, 5 Dec 2018 10:35:33 +0100 Subject: [PATCH] oggmux: Fix a maybe-uninitialized warning Arch Linux, GCC 8.2.1+20181127, CFLAGS='-Og -g3' --- ext/ogg/gstoggmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 8925e8b53b..68b3e7e7e2 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -844,6 +844,7 @@ gst_ogg_mux_decorate_buffer (GstOggMux * ogg_mux, GstOggPadData * pad, if (G_UNLIKELY (duration < 0)) { /* well, if some day we really could handle sparse input ... */ if (pad->map.is_sparse) { + granule = 0; limit = 1; diff = 2; goto resync;