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
2c354ba64e
commit
61a3c5657a
|
@ -209,6 +209,7 @@ void FFmpegSourceVideoProvider::Close() {
|
|||
KeyFramesList.clear();
|
||||
TimecodesVector.clear();
|
||||
FrameNumber = -1;
|
||||
CurFrame.Clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue