From 63f7834ab615a47b6e8785f0d96c2ae0c6182d12 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sun, 2 Feb 2014 20:54:38 +0000 Subject: [PATCH] fix wrong if when loading new video sequence --- source/InputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/InputStream.cpp b/source/InputStream.cpp index 818855b..b41200e 100755 --- a/source/InputStream.cpp +++ b/source/InputStream.cpp @@ -149,7 +149,7 @@ Void InputStream::init( QString filename, UInt width, UInt height, Int input_for UInt64 frame_bytes_input = m_cCurrFrame->getBytesPerFrame(); - if( avStatus ) + if( !avStatus ) { m_cFilename = filename; m_pFile = fopen( m_cFilename.toLocal8Bit().data(), "rb" );