On 10/01/2020 22:06, Lynne wrote:
> Patch attached.
> 
> Very widespread, every NASA TIFF image has an ICC profile embedded, and its 
> almost never sRGB, so this is really needed for proper color display.

[...]

> ---
>  libavcodec/tiff.c | 13 +++++++++++++
>  libavcodec/tiff.h |  1 +
>  2 files changed, 14 insertions(+)

> +    case TIFF_ICC_PROFILE:
> +        if (count >= INT_MAX || count <= 0)
> +            return AVERROR_INVALIDDATA;

Should this be > instead of >=?

Otherwise, LGTM.

- Derek
_______________________________________________
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