[FFmpeg-devel] [PATCH] avcodec/fitsdec: fix use of uninitialised values

2019-09-28 Thread James Almer
header.data_max and header.data_min are not necessarely set on all decoding scenarios. Fixes a Valgrind reported regression since cfa193779103c97bbfc28273a0ab12c114b6786d. Signed-off-by: James Almer --- libavcodec/fitsdec.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

Re: [FFmpeg-devel] [PATCH] avcodec/fitsdec: fix use of uninitialised values

2019-09-29 Thread Michael Niedermayer
On Sat, Sep 28, 2019 at 11:12:08PM -0300, James Almer wrote: > header.data_max and header.data_min are not necessarely set on all decoding > scenarios. > > Fixes a Valgrind reported regression since > cfa193779103c97bbfc28273a0ab12c114b6786d. > > Signed-off-by: James Almer > --- > libavcodec/

Re: [FFmpeg-devel] [PATCH] avcodec/fitsdec: fix use of uninitialised values

2019-09-29 Thread James Almer
On 9/29/2019 12:38 PM, Michael Niedermayer wrote: > On Sat, Sep 28, 2019 at 11:12:08PM -0300, James Almer wrote: >> header.data_max and header.data_min are not necessarely set on all decoding >> scenarios. >> >> Fixes a Valgrind reported regression since >> cfa193779103c97bbfc28273a0ab12c114b6786