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:
Karl Blomster 2009-01-24 23:00:35 +00:00
parent 8ac8982870
commit fe2ec42a45

View file

@ -129,8 +129,8 @@ void VideoProviderCache::Cache(int n,const AegiVideoFrame frame) {
} }
// Cache // Cache
cache.front().n = n; cache.back().n = n;
cache.front().frame.CopyFrom(frame); cache.back().frame.CopyFrom(frame);
} }