~ft/aacdec

e19a5e491354e0e4664d02b796dacee28fb2521e — Andrew Wesie 9 months ago f71b5e8
Check return value of ltp_data.

Fixes #62.
1 files changed, 4 insertions(+), 1 deletions(-)

M libfaad/syntax.c
M libfaad/syntax.c => libfaad/syntax.c +4 -1
@@ 884,7 884,10 @@ static uint8_t ics_info(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld,
                    if ((ics->ltp.data_present = faad_get1bit(ld
                        DEBUGVAR(1,50,"ics_info(): ltp.data_present"))) & 1)
                    {
                        ltp_data(hDecoder, ics, &(ics->ltp), ld);
                        if ((retval = ltp_data(hDecoder, ics, &(ics->ltp), ld)) > 0)
                        {
                            return retval;
                        }
                    }
                }
#endif