Fix audio stream check

actorid
Chris Robinson 12 years ago
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…
Cancel
Save