Fix a memleak in the FFMS2 video provider (the frame was never unallocated on video close). Patch by Harukalover, fixes #838

Originally committed to SVN as r2908.
This commit is contained in:
Karl Blomster 2009-05-10 00:12:04 +00:00
parent 2c354ba64e
commit 61a3c5657a

View file

@ -209,6 +209,7 @@ void FFmpegSourceVideoProvider::Close() {
KeyFramesList.clear();
TimecodesVector.clear();
FrameNumber = -1;
CurFrame.Clear();
}