[vlc-devel] commit: Remove dummy test. ( Rémi Duraffort )

git version control git at videolan.org
Mon Jun 15 09:20:49 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jun 14 13:29:44 2009 +0200| [c75c32cba26287652dcfe33e06007a887030a338] | committer: Rémi Duraffort 

Remove dummy test.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c75c32cba26287652dcfe33e06007a887030a338
---

 src/playlist/art.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/playlist/art.c b/src/playlist/art.c
index 8b65121..131c248 100644
--- a/src/playlist/art.c
+++ b/src/playlist/art.c
@@ -167,9 +167,7 @@ int playlist_FindArtInCache( input_item_t *p_item )
         {
             char *psz_file;
             if( asprintf( &psz_file, "%s" DIR_SEP "%s",
-                          psz_path, psz_filename ) < 0 )
-                psz_file = NULL;
-            if( psz_file )
+                          psz_path, psz_filename ) != -1 )
             {
                 char *psz_uri = make_URI( psz_file );
                 if( psz_uri )




More information about the vlc-devel mailing list