This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
lavd/v4l2: init return value.
Fix a warning and random failures.
tags/n1.2
Nicolas George
13 years ago
parent
1459f34251
commit
0e79fe37e5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavdevice/v4l2.c
+ 1
- 1
libavdevice/v4l2.c
View File
@@ -221,7 +221,7 @@ static int device_init(AVFormatContext *ctx, int *width, int *height,
struct v4l2_format fmt = { .type = V4L2_BUF_TYPE_VIDEO_CAPTURE };
struct v4l2_pix_format *pix = &fmt.fmt.pix;
int res;
int res
= 0
;
pix->width = *width;
pix->height = *height;
Write
Preview
Loading…
Cancel
Save