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:
parent
199301a03a
commit
4aef642cfd
@ -63,7 +63,7 @@ static int fill_data_min_max(const uint8_t *ptr8, FITSHeader *header, const uint
|
||||
int i, j;
|
||||
|
||||
header->data_min = DBL_MAX;
|
||||
header->data_max = DBL_MIN;
|
||||
header->data_max = -DBL_MAX;
|
||||
switch (header->bitpix) {
|
||||
#define CASE_N(a, t, rd) \
|
||||
case a: \
|
||||
|
Loading…
Reference in New Issue
Block a user