mirror of https://github.com/odrling/Aegisub
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
2cab187fd8
commit
179d23fd5c
|
@ -209,6 +209,7 @@ void FFmpegSourceVideoProvider::Close() {
|
|||
KeyFramesList.clear();
|
||||
TimecodesVector.clear();
|
||||
FrameNumber = -1;
|
||||
CurFrame.Clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue