[FFmpeg-devel] [PATCH v3 3/3] aadec: fix seeking in mp3 content

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Jul 3 23:29:37 EEST 2018


2018-07-03 22:25 GMT+02:00, Karsten Otto <ottoka at posteo.de>:

> It took a closer look at what happens when I hear a BLEEP: The packet begins
> with a partial frame, starting with the byte sequence "ff ee 47 9d“.
> Unfortunately,
> the mp3 parser indeed accepts this as a valid mp3 header, causing the noise.
> By looking for the more restricted header, my patch finds the real next
> frame at
> offset 78.
>
> BTW: Should this sequence actually pass? AFAIK 01 is not a valid MPEG audio
> version ID?

The parser is not supposed to drop data.

Carl Eugen


More information about the ffmpeg-devel mailing list