[FFmpeg-devel] [PATCH] lame buffer shortage

Michael Niedermayer michaelni
Sat Jul 21 14:06:27 CEST 2007


Hi

On Sat, Jul 21, 2007 at 09:53:26AM +0200, Andreas ?man wrote:
> Hi
> 
> When encoding mp3's I've seen (especially when in VBR-mode) that
> lame complains that it runs out of encode buffer.

lame is VERY broken, if it where not it would never need more then
the size of the largest possible packet ...


> This patch fixes this by retrying with a larger buffer.
> Once (and if) this patch goes in i'll carve out a patch
> that cleans up the indent.

why not simply increase BUFFER_SIZE ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070721/40d7ded3/attachment.pgp>



More information about the ffmpeg-devel mailing list