Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
72757e93
Commit
72757e93
authored
Nov 12, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
googleimage plugin: don't run vlc.uri_decode on a nil string
parent
5395427f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
share/luameta/googleimage.lua
share/luameta/googleimage.lua
+5
-1
No files found.
share/luameta/googleimage.lua
View file @
72757e93
...
...
@@ -44,5 +44,9 @@ function fetch_art()
page
=
vlc
.
stream_read
(
fd
,
65653
)
vlc
.
stream_delete
(
fd
)
_
,
_
,
arturl
=
string.find
(
page
,
"imgurl=([^&]+)"
)
return
vlc
.
decode_uri
(
arturl
)
if
arturl
then
return
vlc
.
decode_uri
(
arturl
)
else
return
nil
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment