On Sun, Aug 11, 2019 at 01:19:34AM +0300, Nick Renieris wrote:
> From: Nick Renieris <velocit...@gmail.com>
> 
> 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 <velocit...@gmail.com>
> ---
>  libavcodec/tiff.c | 20 +++++++++++++++++---
>  1 file changed, 17 insertions(+), 3 deletions(-)

This breaks
./ffplay https://samples.ffmpeg.org/image-samples/flower-separated-contig-16.tif

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship: All citizens are under surveillance, all their steps and
actions recorded, for the politicians to enforce control.
Democracy: All politicians are under surveillance, all their steps and
actions recorded, for the citizens to enforce control.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to