[Ffmpeg-devel] Memory leakage when using libavcodec with ffmpeg2theora

Viktor Kompaneyets vato
Wed May 11 18:18:00 CEST 2005


? ????????? ?? ?????, 11-???-2005 18:53 Michael Niedermayer ???????(a):
> Hi
>
> On Wednesday 11 May 2005 17:20, Viktor Kompaneyets wrote:
> [...]
>
> > >   Other thing i didn't get yet (or overlooked), did you confirm the
> > > leak is in ffmpeg code and not in code added by ffmpeg2theora?
> >
> > In ffmpeg code there is it. Probably - in mpeg2video module, while
> > reading an (error-containing) mpeg2 stream.
>
> did you reproduce this memleak with plain ffmpeg cvs (no ffmpeg2theora)?

Yes

>
> and please tell us a little more about the ffmpeg version used and how you
> found the leak

Ffmpeg from today's CVS 
Used 'top' and vmstat while ffmpeg running
Virtual memory size growth in ~64-128K increments nonregulary.
When ffmper ran ~10 hours it eats about 30M of memory.

My assumption - bug in error handling.

-- 
Viktor Kompaneyets
Wnet ISP





More information about the ffmpeg-devel mailing list