Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5e348a53
Commit
5e348a53
authored
Sep 04, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcd: compute current title byte size on demand
parent
3db95ed0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/access/vcd/vcd.c
modules/access/vcd/vcd.c
+6
-1
No files found.
modules/access/vcd/vcd.c
View file @
5e348a53
...
@@ -244,9 +244,14 @@ static int Control( access_t *p_access, int i_query, va_list args )
...
@@ -244,9 +244,14 @@ static int Control( access_t *p_access, int i_query, va_list args )
break
;
break
;
case
ACCESS_GET_SIZE
:
case
ACCESS_GET_SIZE
:
{
int
i
=
p_sys
->
i_current_title
;
*
va_arg
(
args
,
uint64_t
*
)
=
*
va_arg
(
args
,
uint64_t
*
)
=
p_sys
->
title
[
p_sys
->
i_current_title
]
->
i_size
;
(
p_sys
->
p_sectors
[
i
+
2
]
-
p_sys
->
p_sectors
[
i
+
1
])
*
(
uint64_t
)
VCD_DATA_SIZE
;
break
;
break
;
}
/* */
/* */
case
ACCESS_GET_PTS_DELAY
:
case
ACCESS_GET_PTS_DELAY
:
...
...
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