From: Michael Niedermayer <[email protected]>
Signed-off-by: Anton Khirnov <[email protected]>
---
libavdevice/v4l2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 372d090..8f27fb4 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -455,7 +455,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 framerate_q;
+ AVRational framerate_q = { 0 };
streamparm.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
--
1.7.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel