projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8043005
)
Add an assert.
author
Carl Hetherington
<cth@carlh.net>
Tue, 15 Feb 2022 13:35:48 +0000
(14:35 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 17 Feb 2022 08:59:26 +0000
(09:59 +0100)
src/lib/ffmpeg_examiner.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_examiner.cc
b/src/lib/ffmpeg_examiner.cc
index fab9990060041602191380d47291d8a24b87cba7..01886da7f90ce0c7bd68a8ebd4a57f36dd7f6b19 100644
(file)
--- a/
src/lib/ffmpeg_examiner.cc
+++ b/
src/lib/ffmpeg_examiner.cc
@@
-489,6
+489,7
@@
PixelQuanta
FFmpegExaminer::pixel_quanta () const
{
auto const desc = av_pix_fmt_desc_get(video_codec_context()->pix_fmt);
+ DCPOMATIC_ASSERT (desc);
return { 1 << desc->log2_chroma_w, 1 << desc->log2_chroma_h };
}