Merge pull request #136 from MKozimirov/fixes

Dereference null pointer - fix
This commit is contained in:
Nikolaos Ftylitakis 2019-09-17 16:00:09 +03:00 committed by GitHub
commit 9711217258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ QVideoFrame QZXingFilterRunnable::run(QVideoFrame * input, const QVideoSurfaceFo
if(!input || !input->isValid()) if(!input || !input->isValid())
{ {
//qDebug() << "[QZXingFilterRunnable] Invalid Input "; //qDebug() << "[QZXingFilterRunnable] Invalid Input ";
return * input; return QVideoFrame();
} }
if(filter->isDecoding()) if(filter->isDecoding())
{ {