[FFmpeg-devel] [PATCH] Fix to prevent runaway ac3 detection

Marijn Meijles marijn at bitpit.net
Sat Jan 28 22:56:53 EET 2017


On Sat, Jan 28, 2017 at 06:04:02PM +0000, Kieran Kunhya wrote:
> On Sat, 28 Jan 2017 at 12:53 Marijn Meijles <marijn at bitpit.net> wrote:
> 
> > This is a fix for https://trac.ffmpeg.org/ticket/6106 .
> >
> > The issue is that when detecting a swapped AC3 marker the data of the
> > frame is swapped. However, in subsequent frames the data swapped is
> > taken from the first frame rather than the current frame. So all frames
> > are considered to be correct even though they might not be. This
> > leads to a high probe score and eventual misidentification.
> >
> 
> Do these files not have SPDIF syncwords?

No, the ones I included in the sample are generated by the stock flac
decoder. All other programs I tried consider them pcm wave files.

Marijn


More information about the ffmpeg-devel mailing list