mirror of https://github.com/odrling/Aegisub
Do nothing if video is played with no video loaded rather than crashing
Originally committed to SVN as r5802.
This commit is contained in:
parent
402ba0e89d
commit
31a3b9aae0
|
@ -362,6 +362,8 @@ void VideoContext::Play() {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!IsLoaded()) return;
|
||||
|
||||
// Set variables
|
||||
startFrame = frame_n;
|
||||
endFrame = -1;
|
||||
|
|
Loading…
Reference in New Issue