[MPlayer-cvslog] r25470 - trunk/vobsub.c
ulion
subversion at mplayerhq.hu
Thu Dec 20 11:40:30 CET 2007
Author: ulion
Date: Thu Dec 20 11:40:30 2007
New Revision: 25470
Log:
Remove redundant code since unrarlib was removed.
Modified:
trunk/vobsub.c
Modified: trunk/vobsub.c
==============================================================================
--- trunk/vobsub.c (original)
+++ trunk/vobsub.c Thu Dec 20 11:40:30 2007
@@ -58,7 +58,7 @@ rar_open(const char *const filename, con
if (stream->file == NULL) {
char *rar_filename;
const char *p;
- int rc = 0;
+ int rc;
/* Guess the RAR archive filename */
rar_filename = NULL;
p = strrchr(filename, '.');
@@ -92,9 +92,8 @@ rar_open(const char *const filename, con
/* There is no matching filename in the archive. However, sometimes
* the files we are looking for have been given arbitrary names in the archive.
* Let's look for a file with an exact match in the extension only. */
- int i, num_files = -1, name_len;
+ int i, num_files, name_len;
ArchiveList_struct *list, *lp;
- if (num_files <= 0)
num_files = unrar_exec_list(rar_filename, &list);
if (num_files > 0) {
char *demanded_ext;
More information about the MPlayer-cvslog
mailing list