forked from mia/Aegisub
Fix a really dumb bug in the caching video provider that caused crashes when seeking in the video.
Originally committed to SVN as r2704.
This commit is contained in:
parent
8ac8982870
commit
fe2ec42a45
1 changed files with 2 additions and 2 deletions
|
@ -129,8 +129,8 @@ void VideoProviderCache::Cache(int n,const AegiVideoFrame frame) {
|
|||
}
|
||||
|
||||
// Cache
|
||||
cache.front().n = n;
|
||||
cache.front().frame.CopyFrom(frame);
|
||||
cache.back().n = n;
|
||||
cache.back().frame.CopyFrom(frame);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue