[FFmpeg-devel] Leak in lavfi movie source
Alexandre Ferrieux
alexandre.ferrieux at orange-ftgroup.com
Tue Apr 19 09:29:35 CEST 2011
On 18/04/2011 19:34, Stefano Sabatini wrote:
> On date Monday 2011-04-18 13:20:09 +0200, Alexandre Ferrieux encoded:
>> On 18/04/2011 12:33, Stefano Sabatini wrote:
>>> On date Monday 2011-04-18 11:25:52 +0200, Alexandre Ferrieux encoded:
>>>> Hi,
>>>>
>>>> (I'm just about to submit a trac entry, but writing this message
>>>> because I know the movie source was only recently integrated into
>>>> the trunk, so perhaps people are busily improving it... please tell
>>>> me)
>>>>
>>>> I have discovered that the movie source has a systematic memory
>>>> leak. Initially it hit me on realtime several-input side-by-side
>>>> overlays, but I have tracked it down also in a non-realtime case
>>>> with a single movie source. It is independent on the output codec
>>>> nor container, and also disappears if one replaces the movie source
>>>> by the 'color' trivial source. Details below.
>>>>
>>>> Is anybody aware of / working on something similar ?
>>>
>>> Thanks for the report, I'll try to fix it, add an entry on the issue
>>> tracker if you want to keep track of the issue.
>>
>> Nice :)
>> Done, Ticket #66.
>
> Thanks, should be fixed, please confirm it is.
Very good ! I confirm:
+ valgrind --log-file=ffm%p.val --leak-check=full --show-reachable=yes ffmpeg.r29184git ...
[...]
==20683== HEAP SUMMARY:
==20683== in use at exit: 0 bytes in 0 blocks
==20683== total heap usage: 24,152 allocs, 24,152 frees, 685,753,218 bytes allocated
==20683==
==20683== All heap blocks were freed -- no leaks are possible
Congrats and many thanks Stefano.
-Alex
More information about the ffmpeg-devel
mailing list