projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0807f7a
)
Make an error more detailed.
author
Carl Hetherington
<cth@carlh.net>
Sun, 26 Nov 2023 00:05:41 +0000
(
01:05
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 26 Nov 2023 00:05:41 +0000
(
01:05
+0100)
src/lib/ffmpeg_file_encoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_file_encoder.cc
b/src/lib/ffmpeg_file_encoder.cc
index 7d89b7bd00ce4e7a7fc2027a2bff4bdba2f20ac1..6d1ad68f79bb79d939e4baf25991b792ef4bbaa9 100644
(file)
--- a/
src/lib/ffmpeg_file_encoder.cc
+++ b/
src/lib/ffmpeg_file_encoder.cc
@@
-396,7
+396,9
@@
FFmpegFileEncoder::flush ()
}
auto const r = av_write_trailer(_format_context);
- DCPOMATIC_ASSERT(r == 0);
+ if (r) {
+ throw EncodeError(N_("av_write_trailer"), N_("FFmpegFileEncoder::flush"), r);
+ }
}