aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-08 01:20:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-18 21:05:12 +0100
commite5578ad3cd96211f48d3d3ed4894f15f82045c1d (patch)
treee420fe26b7cd8d35c161026b1b5a1976f809f987
parent4e0fae982e5317b3fbaae5e506c75237dbe77214 (diff)
downloadffmpeg-e5578ad3cd96211f48d3d3ed4894f15f82045c1d.tar.gz
v4l2: fix uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/v4l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 7223654891..163a4cdc03 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -439,7 +439,7 @@ static int v4l2_set_parameters(AVFormatContext *s1, AVFormatParameters *ap)
struct v4l2_streamparm streamparm = {0};
struct v4l2_fract *tpf = &streamparm.parm.capture.timeperframe;
int i, ret;
- AVRational fps;
+ AVRational fps={0};
streamparm.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;