]> git.sesse.net Git - vlc/commit
Fix two uninitialized variables in the v4l2 access module
authorAlina Friedrichsen <x-alina@gmx.net>
Sat, 18 Jul 2009 13:04:18 +0000 (15:04 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 18 Jul 2009 21:25:04 +0000 (23:25 +0200)
commit288f193ab03076ddcf895562717a186893230d3a
treed3c145bef46be72d97ed95d4c73284471c34bc67
parentf8980a9428eca2bf845d86e4252504c304102f20
Fix two uninitialized variables in the v4l2 access module

Without this patch, the initial value on my system is for example 3, so that two much items are counted. In the second step the function breaks with a error code, when the information downloading of the non-existing item fails.

Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
modules/access/v4l2.c