[MPlayer-dev-eng] [PATCH] don't skip first mp3 frame

D Richard Felker III dalias at aerifal.cx
Mon Mar 22 04:04:49 CET 2004


On Sun, Mar 21, 2004 at 06:07:50PM -0800, Nehal wrote:
> for some reason, the current code skips the first frame of 
> mp3 files (using any decoder), i'm assuming this is a bug 
> as i can't see any good reason for this.

It was added intentionally to avoid hearing pops at the beginning of
some files. Of course this is an incorrect, idiotic fix. 100l to
someone...

> this probably isn't noticeable with most files, but i have 
> a couple of test cases that have audible sound data in the 
> first frame. if someone wants, email me and i'll send you 
> the starting part of the files for testing purposes.
> 
> please apply the patch that i've attached

Please send a patch that fixes whatever bug is causing the first frame
to be decoded as a horrible pop in many files, and we'll gladly apply
this patch too.

Rich





More information about the MPlayer-dev-eng mailing list