vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Mon Jun 12 16:57:41 2017 +0200| [bab1e74daed1a119175f4562137188c32e766a5c] | committer: Hugo Beauzée-Luyssen
wasapi: Fix non-default device check > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bab1e74daed1a119175f4562137188c32e766a5c --- modules/access/wasapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/wasapi.c b/modules/access/wasapi.c index 59b4883346..491e7c292c 100644 --- a/modules/access/wasapi.c +++ b/modules/access/wasapi.c @@ -385,7 +385,7 @@ static int Open(vlc_object_t *obj) demux_t *demux = (demux_t *)obj; HRESULT hr; - if (demux->psz_location != NULL && demux->psz_location != '\0') + if (demux->psz_location != NULL && *demux->psz_location != '\0') return VLC_EGENERIC; /* TODO non-default device */ demux_sys_t *sys = malloc(sizeof (*sys)); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
