Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c01112ad
Commit
c01112ad
authored
Apr 15, 2001
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Maybe fixed the "cell not found" bug. I can't test it because I don't
have a dvd drive here, but it should work now.
parent
4a5e3b56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
plugins/dvd/dvd_ifo.c
plugins/dvd/dvd_ifo.c
+3
-5
No files found.
plugins/dvd/dvd_ifo.c
View file @
c01112ad
...
...
@@ -2,7 +2,7 @@
* dvd_ifo.c: Functions for ifo parsing
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: dvd_ifo.c,v 1.2
0 2001/04/13 05:36:12
stef Exp $
* $Id: dvd_ifo.c,v 1.2
1 2001/04/15 15:32:48
stef Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -1312,7 +1312,7 @@ static int ReadCellInf( ifo_t * p_ifo, cell_inf_t * p_cell_inf, off_t i_pos )
off_t
i_start
;
int
i
;
p_current
=
FillBuffer
(
p_ifo
,
pi_buffer
,
i_pos
);
p_current
=
FillBuffer
(
p_ifo
,
pi_buffer
,
i_pos
);
i_start
=
p_ifo
->
i_pos
;
//fprintf( stderr, "CELL ADD\n" );
...
...
@@ -1320,9 +1320,7 @@ static int ReadCellInf( ifo_t * p_ifo, cell_inf_t * p_cell_inf, off_t i_pos )
DumpBits
(
p_ifo
,
pi_buffer
,
&
p_current
,
2
);
p_cell_inf
->
i_end_byte
=
ReadDouble
(
p_ifo
,
pi_buffer
,
&
p_current
);
p_cell_inf
->
i_cell_nb
=
(
i_start
+
p_cell_inf
->
i_end_byte
+
1
-
p_ifo
->
i_pos
)
/
sizeof
(
cell_map_t
);
p_cell_inf
->
i_cell_nb
=
(
p_cell_inf
->
i_end_byte
-
8
)
/
sizeof
(
cell_map_t
);
//fprintf( stderr, "Cell inf: vob %d end %d cell %d\n", p_cell_inf->i_vob_nb, p_cell_inf->i_end_byte, p_cell_inf->i_cell_nb );
...
...
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