Re: [FFmpeg-devel] [PATCH 0/6 v2] avformat/movenc: normalize on AC-3 parser usage

2022-06-20 Thread Jan Ekström
On Fri, Jun 17, 2022 at 4:04 PM Jan Ekström wrote: > > The simplified parsing currently in `mov_write_ac3_tag` trusts the content > of the packets a bit too much (the AC-3 parser returns all data fed to it, > including any possible data before the start code), while the existing E-AC-3 > logic doe

[FFmpeg-devel] [PATCH 0/6 v2] avformat/movenc: normalize on AC-3 parser usage

2022-06-17 Thread Jan Ekström
The simplified parsing currently in `mov_write_ac3_tag` trusts the content of the packets a bit too much (the AC-3 parser returns all data fed to it, including any possible data before the start code), while the existing E-AC-3 logic does proper header validation by utilizing the (E-)AC-3 parser.