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
This commit is contained in:
Thiago Santos 2017-03-11 12:56:33 -08:00
parent 4d9b17ad77
commit 7e39dec391

View file

@ -2094,6 +2094,8 @@ gst_qt_mux_prepare_moov_recovery (GstQTMux * qtmux)
}
}
return;
fail:
/* cleanup */
fclose (qtmux->moov_recov_file);