diff --git a/ffmpegthumbnailer/moviedecoder.cpp b/ffmpegthumbnailer/moviedecoder.cpp --- a/ffmpegthumbnailer/moviedecoder.cpp +++ b/ffmpegthumbnailer/moviedecoder.cpp @@ -139,7 +139,7 @@ } } - if (m_VideoStream == -1) { + if (m_VideoStream < 0) { qDebug() << "Could not find video stream"; return false; }