mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-03 17:54:06 +00:00
Fix audio stream check
This commit is contained in:
parent
58ab3407b7
commit
4373218746
@ -767,7 +767,7 @@ void VideoState::decode_thread_loop(VideoState *self)
|
||||
|
||||
try
|
||||
{
|
||||
if(!self->video_st && !self->audio_st < 0)
|
||||
if(!self->video_st && !self->audio_st)
|
||||
throw std::runtime_error("No streams to decode");
|
||||
|
||||
// main decode loop
|
||||
|
Loading…
x
Reference in New Issue
Block a user