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.. :/)