]> git.sesse.net Git - ffmpeg/commit
avcodec/fitsdec: fix use of uninitialised values
authorJames Almer <jamrial@gmail.com>
Sun, 29 Sep 2019 02:11:06 +0000 (23:11 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 29 Sep 2019 15:44:43 +0000 (12:44 -0300)
commite3f0ecfc57889de0e0a359ec30b77851d53cea87
tree7acc262e909d0be378bba286ef2ef4ea7768ce85
parent9fdc2c7bc45b062457f3d58578e3a02dd945c9c4
avcodec/fitsdec: fix use of uninitialised values

header.data_max and header.data_min are not necessarely set on all decoding scenarios.

Fixes a Valgrind reported regression since cfa193779103c97bbfc28273a0ab12c114b6786d.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/fitsdec.c