1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/fitsdec: properly initialize header->data_max

This commit is contained in:
Paul B Mahol 2021-02-08 17:45:57 +01:00
parent 199301a03a
commit 4aef642cfd

View File

@ -63,7 +63,7 @@ static int fill_data_min_max(const uint8_t *ptr8, FITSHeader *header, const uint
int i, j; int i, j;
header->data_min = DBL_MAX; header->data_min = DBL_MAX;
header->data_max = DBL_MIN; header->data_max = -DBL_MAX;
switch (header->bitpix) { switch (header->bitpix) {
#define CASE_N(a, t, rd) \ #define CASE_N(a, t, rd) \
case a: \ case a: \