[vlc-commits] addons: fsstorage: drop empty file check.

Francois Cartegnie git at videolan.org
Sun Feb 9 21:39:40 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Feb  9 21:37:58 2014 +0100| [da84acd06cc384060502e4ad6d873533e1bd6ffe] | committer: Francois Cartegnie

addons: fsstorage: drop empty file check.

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

 modules/misc/addons/fsstorage.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/addons/fsstorage.c b/modules/misc/addons/fsstorage.c
index d6147af..6b9a06c 100644
--- a/modules/misc/addons/fsstorage.c
+++ b/modules/misc/addons/fsstorage.c
@@ -641,7 +641,7 @@ static int LoadCatalog( addons_finder_t *p_finder )
     int i_filetype = -1;
 
     struct stat stat_;
-    if ( vlc_stat( psz_path, &stat_ ) || !stat_.st_blocks )
+    if ( vlc_stat( psz_path, &stat_ ) )
     {
         free( psz_path );
         return VLC_EGENERIC;



More information about the vlc-commits mailing list