[FFmpeg-devel] [PATCH 4/4] avcodec/fitsdec: Check data_min/max

Moritz Barsnick barsnick at gmx.net
Thu Jun 13 17:29:54 EEST 2019


On Thu, Jun 13, 2019 at 01:20:20 +0200, Michael Niedermayer wrote:
> +        if (header->data_min == header->data_max) {

Just a note:
Equality comparison of floats/doubles may trigger a warning. (Possibly
needs to be explicitly enabled though, like with "-Wfloat-equal" on
gcc.) Might be okay though nevertheless.

Moritz


More information about the ffmpeg-devel mailing list