diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-02-15 14:35:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-02-17 09:59:26 +0100 |
| commit | d113a4b1b0e5dab6924510861f3f2b9c30fc9610 (patch) | |
| tree | 5b4e8c60a77b313b6f4189b722da4043e00d05d2 /src/lib/ffmpeg_examiner.cc | |
| parent | 80430058f5eefb55147218a85225adeb6b616f4d (diff) | |
Add an assert.
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index fab999006..01886da7f 100644 --- 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 }; } |
