diff --git a/lib/media.c b/lib/media.c index 01520515554c962cd67e6cd00a805da370f72019..f417e3a3bfc572087e2bd53a17755f5fd65f0f90 100644 --- a/lib/media.c +++ b/lib/media.c @@ -764,8 +764,8 @@ int libvlc_media_parse_request(libvlc_instance_t *inst, libvlc_media_t *media, do_parse = true; else { - if (input_net && (parse_flag & libvlc_media_parse_network) == 0) - do_parse = false; + if (input_net) + do_parse = parse_flag & libvlc_media_parse_network; else if (parse_flag & libvlc_media_parse_local) { switch (input_type)