[gegl] ff-save: write trailer before closing codecs
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ff-save: write trailer before closing codecs
- Date: Mon, 23 Nov 2015 05:49:45 +0000 (UTC)
commit b5a5692cc8cbd6893d75c71c33e41fba0ae912d1
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Nov 23 06:41:55 2015 +0100
ff-save: write trailer before closing codecs
operations/external/ff-save.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index 31aff51..3cd841b 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -825,12 +825,13 @@ finalize (GObject *object)
if (p->oc)
{
+ av_write_trailer (p->oc);
+
if (p->video_st)
close_video (p, p->oc, p->video_st);
if (p->audio_st)
close_audio (p, p->oc, p->audio_st);
- av_write_trailer (p->oc);
avio_closep (&p->oc->pb);
avformat_free_context (p->oc);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]