mirror of https://github.com/odrling/Aegisub
FFMS2 GCC compilation fix
Originally committed to SVN as r2781.
This commit is contained in:
parent
cae545b1eb
commit
6ca864b88c
|
@ -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 New Issue