[vlc-commits] bluray: remove p_input requirement

Thomas Guillem git at videolan.org
Thu Jul 19 13:20:59 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jul 19 13:20:03 2018 +0200| [af7640454653c4884d62e120e6f268e702149a28] | committer: Thomas Guillem

bluray: remove p_input requirement

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af7640454653c4884d62e120e6f268e702149a28
---

 modules/access/bluray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 4ae6bfb7cf..ee82260fed 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -639,7 +639,7 @@ static int blurayOpen(vlc_object_t *object)
     const char *error_msg = NULL;
 #define BLURAY_ERROR(s) do { error_msg = s; goto error; } while(0)
 
-    if (p_demux->out == NULL || unlikely(p_demux->p_input == NULL))
+    if (p_demux->out == NULL)
         return VLC_EGENERIC;
 
     forced = !strncasecmp(p_demux->psz_url, "bluray:", 7);



More information about the vlc-commits mailing list