[vlc-devel] [PATCH] vlm: Error loading /requests/vlm.xml

Joe Taber edward.c.wang at compdigitec.com
Sun May 27 02:35:04 CEST 2012


Variable `loop` was uninitialized and resulted in an error when being
concatenated. Initialize the variable to blank: `local loop = ""`.

Close #6882

Signed-off-by: Edward Wang <edward.c.wang at compdigitec.com>
---
 share/lua/http/requests/vlm.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/share/lua/http/requests/vlm.xml b/share/lua/http/requests/vlm.xml
index 19d3fb4..ddb9f2b 100644
--- a/share/lua/http/requests/vlm.xml
+++ b/share/lua/http/requests/vlm.xml
@@ -52,7 +52,8 @@ local function print_table(name,t)
 end
 local function print_media(m)
   local name = m.name
-  local type_, enabled, loop, output
+  local type_, enabled, output
+  local loop = ""
   local inputs = {}
   local options = {}
   local instances = {}
-- 
1.7.5.4




More information about the vlc-devel mailing list