vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Jun 19 09:49:07 2017 +0200| [6e45a79ecb25fb22a1b2994ed91de4235c9b9dd7] | committer: Francois Cartegnie
input: meta: reload attachment if failed from cache refs #18057 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e45a79ecb25fb22a1b2994ed91de4235c9b9dd7 --- src/input/meta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/meta.c b/src/input/meta.c index 9b79d4220b..241b926079 100644 --- a/src/input/meta.c +++ b/src/input/meta.c @@ -212,8 +212,8 @@ void input_ExtractAttachmentAndCacheArt( input_thread_t *p_input, { /* XXX Weird, we should not end up with attachment:// art URL * unless there is a race condition */ msg_Warn( p_input, "art already fetched" ); - playlist_FindArtInCache( p_item ); - return; + if( likely(playlist_FindArtInCache( p_item ) == VLC_SUCCESS) ) + return; } /* */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
