[MPlayer-dev-eng] Re: [PATCH] don't skip first mp3 frame
Jindrich Makovicka
makovick at kmlinux.fjfi.cvut.cz
Mon Jan 3 10:40:00 CET 2005
Reimar Döffinger wrote:
>>The demuxer works (at least for me). I also vote for removing
>>the code which kills the first frame (patch attached).
>
>
> Ok, I removed it. I'll share the cola with you ;-).
I encountered an .avi file which still fails and sets the bogus
samplerate. Maybe it would be better to read first two frames during the
initialization, so the (possibly) bogus parameters in the first frame
are ignored. The attached patch fixes that issue for me.
--
Jindrich Makovicka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ad_mp3lib.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050103/5402e143/attachment.asc>
More information about the MPlayer-dev-eng
mailing list