try this patch? <br><br>On Friday, May 21, 2021, Phyllis Smith via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Andrew,</div><div class="gmail_default" style="font-size:small">Also, forgot to mention that the file: 0001-constify-fileffmpeg.C.<wbr>patch although it includes re-enabled int video_probe line does NOT</div><div class="gmail_default" style="font-size:small">include the av_frame_free(&frame); line as far as I can tell.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 3, 2021 at 10:09 PM Andrew Randrianasulu via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think I spotted my error, resulting in memory leak..<div><br></div><div>Try to add </div><div><br></div><div>av_frame_free(&frame);</div><div><br></div><div>Just before return ret; line.. { line 1246 currently?} </div><div><br></div><div>And after this re-enable line disabled in </div><div>commit eabda9cf447580a974fd3d67a3d0a2<wbr>6f09aeb523</div><div><br></div><div>ff->video_probe(1); in fileffmpeg.C </div><div><br></div><div>And of course re-test ( i probably loaded only very small project or number of files for noticing this.. :/) </div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.<wbr>org/mailman/listinfo/cin</a><br>
</blockquote></div>
</blockquote>