diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-08 01:20:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-08 01:20:35 +0100 |
commit | 5955c63c36e9b822f1186cd45a8dec5056b9c575 (patch) | |
tree | 8b4664457875ef8101fbb637e23e7f1a9488ec57 /libavdevice | |
parent | 4717e2979694bd3679d1a5c5aad1e95b9c431b29 (diff) | |
download | ffmpeg-5955c63c36e9b822f1186cd45a8dec5056b9c575.tar.gz |
v4l2: fix uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 85666f5f3e..08ee201c79 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -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; |