[Ffmpeg-devel] Memory leek when converting images
Michael Niedermayer
michaelni
Fri Feb 9 10:45:47 CET 2007
Hi
On Fri, Feb 09, 2007 at 08:08:44AM +0100, paolo mosna wrote:
[...]
> The last two instructions:
>
> if(buffer != NULL)
> delete [] buffer;
>
> are used to release the created buffer.
>
> Here there are two situations:
>
> (1) Buffer is NOT release:
> If I do not release the buffer the system works correctly, but using unix
> top
> command I noticed that the process memory is continuously increasing
> till blocking the system...
>
> (2) Buffer is released
> If I release the buffer the system doesn't work with all the videos, but
> when it works, process memory usage (monitored with top command)
> does NOT increase, without overloading system
>
> In the other part of the system all the data are correctly released
> using av_free().
>
> Does anyone have any clues about this behavior?
> where is method avpicture_fill() declared? I would check-out method
> implementation.
try grep
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- 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/20070209/9029f191/attachment.pgp>
More information about the ffmpeg-devel
mailing list