[Cin] About FFVideoStream::probe

Andrew Randrianasulu randrianasulu at gmail.com
Fri May 21 08:50:53 CEST 2021


try this patch?

On Friday, May 21, 2021, Phyllis Smith via Cin <cin at lists.cinelerra-gg.org>
wrote:

> Andrew,
> Also, forgot to mention that the file:  0001-constify-fileffmpeg.C.patch
> although it includes re-enabled int video_probe line does NOT
> include the   av_frame_free(&frame);   line as far as I can tell.
>
> On Mon, May 3, 2021 at 10:09 PM Andrew Randrianasulu via Cin <
> cin at lists.cinelerra-gg.org> wrote:
>
>> I think I spotted my error, resulting in memory leak..
>>
>> Try to add
>>
>> av_frame_free(&frame);
>>
>> Just before return ret; line.. { line 1246 currently?}
>>
>> And after this re-enable line disabled in
>> commit eabda9cf447580a974fd3d67a3d0a26f09aeb523
>>
>> ff->video_probe(1); in fileffmpeg.C
>>
>> And of course re-test ( i probably loaded only very small project or
>> number of files for noticing this.. :/)
>> --
>> Cin mailing list
>> Cin at lists.cinelerra-gg.org
>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210521/e62583a7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-attempt-to-fix-_probe-function-memory-leak.patch
Type: text/x-diff
Size: 662 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210521/e62583a7/attachment.bin>


More information about the Cin mailing list