[vlc-commits] v4l2: remove useless check
Rémi Denis-Courmont
git at videolan.org
Thu Mar 15 17:06:08 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 15 18:05:41 2012 +0200| [c0a980e6d55676856aad8317f02e12a66d64f5f5] | committer: Rémi Denis-Courmont
v4l2: remove useless check
The module has zero priority, so this was always false.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0a980e6d55676856aad8317f02e12a66d64f5f5
---
modules/access/v4l2/access.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/modules/access/v4l2/access.c b/modules/access/v4l2/access.c
index 078ccb8..e2e1863 100644
--- a/modules/access/v4l2/access.c
+++ b/modules/access/v4l2/access.c
@@ -41,9 +41,6 @@ int AccessOpen( vlc_object_t *obj )
{
access_t *access = (access_t *)obj;
- /* Only when selected */
- if( *access->psz_access == '\0' ) return VLC_EGENERIC;
-
access_InitFields( access );
demux_sys_t *sys = calloc( 1, sizeof( demux_sys_t ));
More information about the vlc-commits
mailing list