aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/s302m.c
diff options
context:
space:
mode:
authorNick Renieris <velocityra@gmail.com>2019-08-29 16:10:53 +0300
committerPaul B Mahol <onemda@gmail.com>2019-09-02 09:26:52 +0200
commit15776ca18298a1214a19c2cbf456b0545f5ba60e (patch)
treeb5e8bed9e3047102d4a33eadb536ac4f643bb83e /libavcodec/s302m.c
parent9280e4b2918cb3d84b4ea082f4b06e9e6f4f62b8 (diff)
downloadffmpeg-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/s302m.c')
0 files changed, 0 insertions, 0 deletions