[FFmpeg-devel] [PATCH 5/5] avformat/mp3dec: alwas prefer xing toc for seeking if present

wm4 nfxjfg at googlemail.com
Wed Apr 15 11:17:24 CEST 2015


On Tue, 14 Apr 2015 23:12:37 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> On Tue, Apr 14, 2015 at 09:24:37PM +0200, wm4 wrote:
> > For consistency. This masked another bug before.
> > ---
> >  libavformat/mp3dec.c | 12 ++++++------
> >  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> this breaks seeking in CBR files with a xing toc
> 
> see: https://trac.ffmpeg.org/ticket/2590 for testcase/example

The sample file is gone.

Also at least the sample I have (linked in my other post,
https://0x0.st/AG.mp3), the header claims CBR, but strictly
speaking is VBR: the packet size is usually 418 bytes, but
sometimes 417.


More information about the ffmpeg-devel mailing list