On 14/08/15 20:29, Martin Storsjö wrote:
Feel free to suggest how to do it; currently the lib blindly writes data
into the output buffer without checking the given allocation size; we
can only make sure it's big enough for the current lib versions, for
newer lib versions it can well go out of
On Fri, 14 Aug 2015, Luca Barbato wrote:
On 14/08/15 16:06, Martin Storsjö wrote:
Nope, and more problematically; if the lib suddenly decides to decode a
whole lot more channels, it will overflow the buffer we've allocated
(and it ignores the buf_size parameter that we give it).
I guess addi
On 14/08/15 16:06, Martin Storsjö wrote:
Nope, and more problematically; if the lib suddenly decides to decode a
whole lot more channels, it will overflow the buffer we've allocated
(and it ignores the buf_size parameter that we give it).
I guess adding some safeguard might be nice.
lu
_
On Fri, 14 Aug 2015, Luca Barbato wrote:
On 14/08/15 13:21, Martin Storsjö wrote:
On Fri, 14 Aug 2015, Luca Barbato wrote:
On 14/08/15 10:36, Martin Storsjö wrote:
For ADTS streams, the output format (number of channels, frame size)
can change at any point (with the latest version of fdk-aac
On 14/08/15 13:21, Martin Storsjö wrote:
> On Fri, 14 Aug 2015, Luca Barbato wrote:
>
>> On 14/08/15 10:36, Martin Storsjö wrote:
>>> For ADTS streams, the output format (number of channels, frame size)
>>> can change at any point (with the latest version of fdk-aac, the decoder
>>> seems to chang
On Fri, 14 Aug 2015, Luca Barbato wrote:
On 14/08/15 10:36, Martin Storsjö wrote:
For ADTS streams, the output format (number of channels, frame size)
can change at any point (with the latest version of fdk-aac, the decoder
seems to change format after a handful of frames, not outputting the
ri
On 14/08/15 10:36, Martin Storsjö wrote:
> For ADTS streams, the output format (number of channels, frame size)
> can change at any point (with the latest version of fdk-aac, the decoder
> seems to change format after a handful of frames, not outputting the
> right format immediately, for cases tha
For ADTS streams, the output format (number of channels, frame size)
can change at any point (with the latest version of fdk-aac, the decoder
seems to change format after a handful of frames, not outputting the
right format immediately, for cases that worked fine with the earlier
version of the lib