mirror of https://github.com/status-im/qzxing.git
Merge pull request #136 from MKozimirov/fixes
Dereference null pointer - fix
This commit is contained in:
commit
9711217258
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue