oggmux: Fix a maybe-uninitialized warning

Arch Linux, GCC 8.2.1+20181127, CFLAGS='-Og -g3'
This commit is contained in:
Jan Alexander Steffens (heftig) 2018-12-05 10:35:33 +01:00 committed by Sebastian Dröge
parent 29d6f1c698
commit 0bec36d5fa

View file

@ -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;