[Ffmpeg-devel] [PATCH] Vorbis fix

Rich Felker dalias
Thu May 19 21:16:31 CEST 2005


On Thu, May 19, 2005 at 10:34:47AM +0200, Milan Cutka wrote:
> > Hopefully this patch corrects the decoding.
> 
> Thanks. It works now.
> 
> Attached patch decreases vorbis decoder stack usage. This is needed when used
> vorbis decoder in ffdshow which runs in thread created by the player
> application, sometimes with quite low stack size.

If windows is this broken, ffdshow needs to allocate its own stack
before calling libavcodec. We should not design libavcodec around
broken platforms with miniscule stack, especially if it may affect
performance (malloc/free on every frame is not acceptable, it will
lead to horrible memory fragmentation and likely bad cache
performance).

Rich





More information about the ffmpeg-devel mailing list