summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_file_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffmpeg_file_encoder.cc')
-rw-r--r--src/lib/ffmpeg_file_encoder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_file_encoder.cc b/src/lib/ffmpeg_file_encoder.cc
index 30dcdb94c..32a0e0f86 100644
--- a/src/lib/ffmpeg_file_encoder.cc
+++ b/src/lib/ffmpeg_file_encoder.cc
@@ -394,7 +394,8 @@ FFmpegFileEncoder::flush ()
}
}
- av_write_trailer (_format_context);
+ auto const r = av_write_trailer(_format_context);
+ DCPOMATIC_ASSERT(r == 0);
}