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 2cab187fd8
commit 179d23fd5c

View file

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