Browse Source

avcodec/fitsdec: properly initialize header->data_max

tags/n4.4
Paul B Mahol 5 years ago
parent
commit
4aef642cfd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/fitsdec.c

+ 1
- 1
libavcodec/fitsdec.c View File

@@ -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…
Cancel
Save