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: Kai Vehmanen (k_AT_eca.cx)
Date: Mon Nov 17 2003 - 21:05:20 EET


On Thu, 25 Sep 2003, Julian Dobson wrote:

> As promised, here is the patch for libecasound/audioio-mp3.cpp... On
> review it's not perfect as it skips a block into the file for the second
> header check and if it doesn't find a second header there, it starts
> looking for headers from that point, when really it should go back to
> where it found the first header to continue looking. However, I've yet
> to find an mp3 it fails on (unlike the orginal code).

The patch looks pretty good, but contains a few critical things that need
to fixed before commit to CVS:
        - leaks memeory ('buf' is not freed in all cases)
        - goto-usage; the code would be cleaner with out it :)

Hmm, could you provide me an mp3 that fails with the current 2.3.0 code? I
could take a look at modifying the patch, but it would be good to have
something to test against.

-- 
 http://www.eca.cx
 Audio software for Linux!


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

This archive was generated by hypermail 2b28 : Mon Nov 17 2003 - 21:01:40 EET