Commit 7990ac15 authored by Pierre Ynard's avatar Pierre Ynard

vimeo.lua: fix error case

(cherry picked from commit 2e5c5442c8a604bd4446dc64a84f82b2426af80f)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent ffab21f8
...@@ -96,8 +96,8 @@ function parse() ...@@ -96,8 +96,8 @@ function parse()
end end
if not codec then if not codec then
vlc.msg.warn("unable to find codec info") vlc.msg.err("unable to find codec info")
return nil return {}
end end
if ishd and ( not height or prefres < 0 or prefres >= tonumber(height) ) then if ishd and ( not height or prefres < 0 or prefres >= tonumber(height) ) then
......
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