Commit c0a980e6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

v4l2: remove useless check

The module has zero priority, so this was always false.
parent f5cb6357
......@@ -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 ));
......
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