Changeset 72757e9340c0d3a64760349a06fbc7aa47ba0417
- Timestamp:
- 11/12/07 14:34:54
(8 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1194874494 +0000
- git-parent:
[5395427fef4d5c327bec4d21188f41043ce07b70]
- git-author:
- Rafaël Carré <funman@videolan.org> 1194874494 +0000
- Message:
googleimage plugin: don't run vlc.uri_decode on a nil string
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd2a20af |
r72757e9 |
|
| 45 | 45 | vlc.stream_delete( fd ) |
|---|
| 46 | 46 | _, _, arturl = string.find( page, "imgurl=([^&]+)" ) |
|---|
| 47 | | return vlc.decode_uri(arturl) |
|---|
| | 47 | if arturl then |
|---|
| | 48 | return vlc.decode_uri(arturl) |
|---|
| | 49 | else |
|---|
| | 50 | return nil |
|---|
| | 51 | end |
|---|
| 48 | 52 | end |
|---|