Re: [ecasound] ecasound 2.3.0 mp3 header problem

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] ecasound 2.3.0 mp3 header problem
From: Julian Dobson (juliand_AT_braverock.com)
Date: Thu Sep 25 2003 - 15:47:55 EEST


Kai,

I did not know that code came from XMMS, so you might be right about the
problem being fixed in XMMS already... Either way, I'll scrape the code
together and post it up.

Julian

Kai Vehmanen wrote:
> On Wed, 3 Sep 2003, Julian Dobson wrote:
>
>
>>On investigation, it turned out that while the code had been updated to
>>search the whole file for a header, the code checked for a second header
>>incorrectly. Specifically, the first header is found inside a loop while
>>the second header is found outside the loop. In my particular situation,
>>the id3v2 tags appear to fake a header, so the second check fails.
>
> [...]
>
>>The solution was to move the second check inside the loop, so the loop
>>only exits after two consecutive good frame headers.
>
> [...]
>
>>If anyone would like to look over the code, please let me know and I can
>>post it to the list.
>
>
> Great, I'd be definitely interested in the fixes! The mp3 header parsing
> code is originally from XMMS-1.2.5. I haven't been following the XMMS
> codebase, so there might indeed be some bugs... (possibly already fixed in
> XMMS).
>


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Sep 25 2003 - 15:47:10 EEST