issue #42, issue #116

This commit is contained in:
c0ntrol
2016-05-25 20:45:03 +02:00
parent 87fa4fe116
commit 10c818e13b
2 changed files with 4 additions and 6 deletions

View File

@@ -1313,7 +1313,7 @@ int v4l2_pull_frame(void *vv,VJFrame *dst)
v4l2info *v = (v4l2info*) vv;
if( (dst == NULL || v->rw == 1 && v->pause_read ) || (v->rw == 0 && !v->is_streaming) )
if( (dst == NULL) || ( v->rw == 1 && v->pause_read ) || (v->rw == 0 && !v->is_streaming) )
return 0;
if( v->scaler == NULL ) {