forked from mia/Aegisub
FFMS2 GCC compilation fix
Originally committed to SVN as r2781.
This commit is contained in:
parent
6878e5884a
commit
d39d308d0d
1 changed files with 2 additions and 1 deletions
|
@ -324,8 +324,9 @@ AVFrameLite *FFVideoSource::GetFrame(int n, char *ErrorMsg, unsigned MsgSize) {
|
|||
bool HasSeeked = false;
|
||||
int SeekOffset = 0;
|
||||
|
||||
int ClosestKF = 0;
|
||||
if (SeekMode >= 0) {
|
||||
int ClosestKF = Frames.FindClosestKeyFrame(n);
|
||||
ClosestKF = Frames.FindClosestKeyFrame(n);
|
||||
|
||||
if (SeekMode == 0) {
|
||||
if (n < CurrentFrame) {
|
||||
|
|
Loading…
Reference in a new issue