Commit 5955c63c authored by Michael Niedermayer's avatar Michael Niedermayer

v4l2: fix uninitialized variable

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4717e297
......@@ -464,7 +464,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;
......
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