Problem decoding very small file

Tamas Marki <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <CAL768UeUkB3BScW_uDMB3Ga_EUdoQBnobwGLqj0O+nm1qfBxwQ@mail.gmail.com>
Hello,

I'm having a problem in decoding and re-encoding a very small file, that is
smaller than my input MP3 buffer.

The thing is, I read in the whole file (no ID3 tag), hip_decode_headers
returns 0, but there is no more data in the file, so I essentially get
nothing out of it.

Calling lame_encode_flush does not seem to solve the problem.

I would be grateful for any pointers.

Thanks!

-- 
Tamas Marki
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.