Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
1cc7a5c9
Commit
1cc7a5c9
authored
Feb 23, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed support for multi-volume archive.
09d1c6e1
was not working... It fixes #6190.
parent
1c23e3df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/access/rar/rar.c
modules/access/rar/rar.c
+4
-3
No files found.
modules/access/rar/rar.c
View file @
1cc7a5c9
...
...
@@ -327,7 +327,7 @@ int RarParse(stream_t *s, int *count, rar_file_t ***file)
}
/* */
bool
has_next
=
false
;
int
has_next
=
1
;
for
(;;)
{
rar_block_t
bk
;
int
ret
;
...
...
@@ -350,11 +350,12 @@ int RarParse(stream_t *s, int *count, rar_file_t ***file)
if
(
ret
)
break
;
}
if
(
has_next
<
0
)
has_next
=
*
count
>
0
&&
!
(
*
file
)[
*
count
-
1
]
->
is_complete
;
if
(
vol
!=
s
)
stream_Delete
(
vol
);
if
(
!
has_next
||
!
pattern
||
(
*
count
>
0
&&
!
(
*
file
)[
*
count
-
1
]
->
is_complete
))
{
if
(
!
has_next
||
!
pattern
)
{
free
(
volume_mrl
);
return
VLC_SUCCESS
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment