projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105e1d2
)
Check a return value for error.
author
Carl Hetherington
<cth@carlh.net>
Thu, 24 Aug 2023 13:44:11 +0000
(15:44 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 26 Aug 2023 08:23:21 +0000
(10:23 +0200)
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 30dcdb94cc299b0031583eee5218a6de9c23a84a..32a0e0f8620f3741ab09bd6c7456305541692130 100644
(file)
--- 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);
}