On Fri, Jul 30, 2010 at 01:48:34PM +1000, Erik de Castro Lopo wrote:

> Hi,

Hi!

> I had a look at the two files attached to this bug and I don't see
> a problem.

Open it in audacity, there you have it:

 $ audacity /path/to/test1.flac

It won't open. (it will open with audacity's internal flac code if you
set the file type to flac, but via libsndfile (automatic selection), the
resulting track has zero samples.

Try to call sf_read_float() on test1.flac, you won't get any samples,
though the two files are actually the same (content-wise).

Reason is that you're checking for psf->sf.frames in almost every read
function, and as long as psf->sf.frames is zero, sf_read_*() won't
return any sample of the file.


HTH

-- 
mail: a...@thur.de      http://adi.thur.de      PGP/GPG: key via keyserver



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to