summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagossantos@gmail.com>2017-03-11 12:56:33 -0800
committerThiago Santos <thiagossantos@gmail.com>2017-03-14 20:48:33 -0700
commit4be926abeead00b196e93d34fd08815e1b0b7ca9 (patch)
treefeee19b34a75774ca2dad441c5d9133c32e0219b
parent909dc928c23f672d7573f92421d42f24b0ca1089 (diff)
downloadgstreamer-plugins-good-4be926abeead00b196e93d34fd08815e1b0b7ca9.tar.gz
qtmux: avoid fallthrough to moovrecovery failure section
Return before that to preserve our successfull results, otherwise no moov recovery information would be written https://bugzilla.gnome.org/show_bug.cgi?id=771478
-rw-r--r--gst/isomp4/gstqtmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index 6e3ce16e5..643a4ced6 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -2058,6 +2058,8 @@ gst_qt_mux_prepare_moov_recovery (GstQTMux * qtmux)
}
}
+ return;
+
fail:
/* cleanup */
fclose (qtmux->moov_recov_file);