diff options
author | Nick Renieris <velocityra@gmail.com> | 2019-08-29 16:10:53 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-09-02 09:26:52 +0200 |
commit | 15776ca18298a1214a19c2cbf456b0545f5ba60e (patch) | |
tree | b5e8bed9e3047102d4a33eadb536ac4f643bb83e /libavcodec/dnxhddata.c | |
parent | 9280e4b2918cb3d84b4ea082f4b06e9e6f4f62b8 (diff) | |
download | ffmpeg-15776ca18298a1214a19c2cbf456b0545f5ba60e.tar.gz |
lavc/tiff: Default-initialize WhiteLevel DNG tag value
Initialized to `(2 ^ BitsPerSample) - 1` as per the DNG Specification.
Also make sure that `BlackLevel < WhiteLevel`.
This fixes decoding for "X7 CinemaDNG" samples here:
- https://www.dji.com/gr/zenmuse-x7/info#downloads
Signed-off-by: Nick Renieris <velocityra@gmail.com>
Diffstat (limited to 'libavcodec/dnxhddata.c')
0 files changed, 0 insertions, 0 deletions