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-11 13:00:35 -0800
commit9018ab1496c4f5d03f7dc500c7ff346f1578983c (patch)
treee1e013e7c201f7c9612d7476672442e13ba2cd50
parent22a20b8662a9e6b6029806416ff98c3415315f05 (diff)
qtmux: avoid fallthrough to moovrecovery failure sectionmoovrecovery
Return before that to preserve our successfull results, otherwise no moov recovery information would be written
-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 8d009b6ee..0342e05e1 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -2094,6 +2094,8 @@ gst_qt_mux_prepare_moov_recovery (GstQTMux * qtmux)
}
}
+ return;
+
fail:
/* cleanup */
fclose (qtmux->moov_recov_file);