Commit 1b491328 authored by Pierre-Eric Pelloux-Prayer's avatar Pierre-Eric Pelloux-Prayer
Browse files

Fix 'missing parenthesis' error

parent 81d090ad
...@@ -191,7 +191,7 @@ static int v4lv2_do_mmap(V4lState *s){ ...@@ -191,7 +191,7 @@ static int v4lv2_do_mmap(V4lState *s){
} }
msg=esballoc(start,buf.length,0,NULL); msg=esballoc(start,buf.length,0,NULL);
/* adjust to real size of picture*/ /* adjust to real size of picture*/
if (s->pix_fmt==MS_RGB24 if (s->pix_fmt==MS_RGB24)
msg->b_wptr+=s->vsize.width*s->vsize.height*3; msg->b_wptr+=s->vsize.width*s->vsize.height*3;
else else
msg->b_wptr+=(s->vsize.width*s->vsize.height*3)/2; msg->b_wptr+=(s->vsize.width*s->vsize.height*3)/2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment