diff options
| -rw-r--r-- | graphics/video/video_decoder.cpp | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/video/video_decoder.cpp b/graphics/video/video_decoder.cpp index 9733afc5cc..53a5887e4f 100644 --- a/graphics/video/video_decoder.cpp +++ b/graphics/video/video_decoder.cpp @@ -81,9 +81,14 @@ bool VideoDecoder::endOfVideo() const {  void VideoDecoder::pauseVideo(bool pause) {  	if (pause) {  		_pauseLevel++; -	} else { -		assert(_pauseLevel); // We can't go negative + +	// We can't go negative +	} else if (_pauseLevel) {  		_pauseLevel--; + +	// Do nothing +	} else { +		return;  	}  	if (_pauseLevel == 1 && pause) {  | 
