Re: [FFmpeg-devel] [PATCH] avcodec/libfdk-aacdec: Correct buffer_size parameter

2017-05-27 Thread Michael Niedermayer
On Thu, May 25, 2017 at 03:21:50AM +0200, Michael Niedermayer wrote: > the timeDataSize argument to aacDecoder_DecodeFrame() seems undocumented and > until > 2016 04 (203e3f28fbebec7011342017fafc2a0bda0ce530) unused. > after that commit libfdk-aacdec interprets it as size in sample units and >

[FFmpeg-devel] [PATCH] avcodec/libfdk-aacdec: Correct buffer_size parameter

2017-05-24 Thread Michael Niedermayer
the timeDataSize argument to aacDecoder_DecodeFrame() seems undocumented and until 2016 04 (203e3f28fbebec7011342017fafc2a0bda0ce530) unused. after that commit libfdk-aacdec interprets it as size in sample units and memsets that on error. FFmpeg as well as others (like GStreamer) did interpret