From 0858f3428daf956161687498c49ea18ed3ef6cbf Mon Sep 17 00:00:00 2001 From: Shao Hao Date: Thu, 3 Apr 2014 20:14:05 +0800 Subject: [PATCH] support unrar 5.10+ --- Makefile | 3 ++- README => README.md | 5 +++++ vfs_rar.cpp | 4 +--- 3 files changed, 8 insertions(+), 4 deletions(-) rename README => README.md (71%) diff --git a/Makefile b/Makefile index 78ea084..06bc90e 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,8 @@ UNRAR_OBJS += strlist.o \ headers.o \ threadpool.o \ rs16.o \ - cmddata.o + cmddata.o \ + ui.o OBJS = $(UNRAR_OBJS) $(APP).o diff --git a/README b/README.md similarity index 71% rename from README rename to README.md index 2f84f66..2345689 100644 --- a/README +++ b/README.md @@ -1,3 +1,8 @@ +vfs_rar +======== + +vfs plugin for DEADBEEF player. + Please download unrar source code from http://www.rarlab.com/rar_add.htm and untar the source code into the "unrar" subfolder. diff --git a/vfs_rar.cpp b/vfs_rar.cpp index 4d2e237..a51ae83 100644 --- a/vfs_rar.cpp +++ b/vfs_rar.cpp @@ -6,8 +6,6 @@ using namespace std; #include #include "unrar/rar.hpp" -#include - //----------------------------------------------------------------------------- #ifdef DEBUG @@ -64,7 +62,7 @@ vfs_rar_is_streaming (void) return 0; } -// fname must have form of zip://full_filepath.zip:full_filepath_in_zip +// fname must have form of rar://full_filepath.rar:full_filepath_in_rar DB_FILE* vfs_rar_open (const char *fname) {