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:
parent
2c354ba64e
commit
61a3c5657a
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ void FFmpegSourceVideoProvider::Close() {
|
||||||
KeyFramesList.clear();
|
KeyFramesList.clear();
|
||||||
TimecodesVector.clear();
|
TimecodesVector.clear();
|
||||||
FrameNumber = -1;
|
FrameNumber = -1;
|
||||||
|
CurFrame.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue