mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
oggmux: Fix a maybe-uninitialized warning
Arch Linux, GCC 8.2.1+20181127, CFLAGS='-Og -g3'
This commit is contained in:
parent
29d6f1c698
commit
0bec36d5fa
1 changed files with 1 additions and 0 deletions
|
@ -844,6 +844,7 @@ gst_ogg_mux_decorate_buffer (GstOggMux * ogg_mux, GstOggPadData * pad,
|
||||||
if (G_UNLIKELY (duration < 0)) {
|
if (G_UNLIKELY (duration < 0)) {
|
||||||
/* well, if some day we really could handle sparse input ... */
|
/* well, if some day we really could handle sparse input ... */
|
||||||
if (pad->map.is_sparse) {
|
if (pad->map.is_sparse) {
|
||||||
|
granule = 0;
|
||||||
limit = 1;
|
limit = 1;
|
||||||
diff = 2;
|
diff = 2;
|
||||||
goto resync;
|
goto resync;
|
||||||
|
|
Loading…
Reference in a new issue