[FFmpeg-devel] [PATCH] avcodec/aac_ac3_parser: account for data already in the parsing buffer

Hendrik Leppkes h.leppkes at gmail.com
Thu Apr 12 02:31:35 EEST 2018


On Wed, Apr 11, 2018 at 8:07 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2018-04-11 13:40 GMT+02:00, Hendrik Leppkes <h.leppkes at gmail.com>:
>> If a frame starts very close to a packet boundary, the start code may
>> already have been added to the parsing buffer, indicated by a small
>> negative value of "i", while the header is still being tracked in the
>> "state" variable.
>
> Do you have a sample?
>

I do, but unless you can tell me how you can get ffmpeg to split
packets from a DVD VOB stream on a fixed arbitrary packet size (2048
bytes, iirc) to cause the issue to appear, I wouldn't know how to
reproduce it from CLI.

- Hendrik


More information about the ffmpeg-devel mailing list