Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
1b491328
Commit
1b491328
authored
Oct 03, 2011
by
Pierre-Eric Pelloux-Prayer
Browse files
Fix 'missing parenthesis' error
parent
81d090ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/msv4l.c
src/msv4l.c
+1
-1
No files found.
src/msv4l.c
View file @
1b491328
...
...
@@ -191,7 +191,7 @@ static int v4lv2_do_mmap(V4lState *s){
}
msg
=
esballoc
(
start
,
buf
.
length
,
0
,
NULL
);
/* 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
;
else
msg
->
b_wptr
+=
(
s
->
vsize
.
width
*
s
->
vsize
.
height
*
3
)
/
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment