Re: [FFmpeg-devel] [PATCH] avformat/aacdec: enable probesize-sized resyncs mid-file

2021-09-27 Thread Jan Ekström
On Tue, Sep 28, 2021 at 1:34 AM James Almer wrote: > > On 9/27/2021 6:31 PM, Jan Ekström wrote: > > Before adts_aac_resync would always bail out after probesize amount > > of bytes had been progressed from the start of the input. > > > > Add an argument for the start position, and set it to zero

Re: [FFmpeg-devel] [PATCH] avformat/aacdec: enable probesize-sized resyncs mid-file

2021-09-27 Thread James Almer
On 9/27/2021 6:31 PM, Jan Ekström wrote: Before adts_aac_resync would always bail out after probesize amount of bytes had been progressed from the start of the input. Add an argument for the start position, and set it to zero when reading the header (which should happen in the beginning) to

[FFmpeg-devel] [PATCH] avformat/aacdec: enable probesize-sized resyncs mid-file

2021-09-27 Thread Jan Ekström
Before adts_aac_resync would always bail out after probesize amount of bytes had been progressed from the start of the input. Add an argument for the start position, and set it to zero when reading the header (which should happen in the beginning) to mimic previous behavior of going only up to