mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 12:53:51 +00:00
Fix audio stream check
This commit is contained in:
parent
58ab3407b7
commit
4373218746
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ void VideoState::decode_thread_loop(VideoState *self)
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if(!self->video_st && !self->audio_st < 0)
|
if(!self->video_st && !self->audio_st)
|
||||||
throw std::runtime_error("No streams to decode");
|
throw std::runtime_error("No streams to decode");
|
||||||
|
|
||||||
// main decode loop
|
// main decode loop
|
||||||
|
|
Loading…
Reference in a new issue