Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
b9574a95
Commit
b9574a95
authored
Feb 08, 2001
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
03d925fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
plugins/dvd/dvd_ifo.c
plugins/dvd/dvd_ifo.c
+10
-2
plugins/dvd/input_dvd.c
plugins/dvd/input_dvd.c
+2
-3
No files found.
plugins/dvd/dvd_ifo.c
View file @
b9574a95
...
...
@@ -2,7 +2,7 @@
* dvd_ifo.c: Functions for ifo parsing
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: dvd_ifo.c,v 1.
1 2001/02/08 04:43:27 sam
Exp $
* $Id: dvd_ifo.c,v 1.
2 2001/02/08 08:08:03 stef
Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -592,12 +592,14 @@ static vmgi_mat_t ReadVMGInfMat( ifo_t* p_ifo )
GETS
(
&
mat
.
i_video_atrt
);
FLUSH
(
1
);
GETC
(
&
mat
.
i_audio_nb
);
//fprintf( stderr, "vmgi audio nb : %d\n", mat.i_audio_nb );
for
(
i
=
0
;
i
<
8
;
i
++
)
{
GETLL
(
&
mat
.
pi_audio_atrt
[
i
]
);
}
FLUSH
(
17
);
GETC
(
&
mat
.
i_subpic_nb
);
//fprintf( stderr, "vmgi subpic nb : %d\n", mat.i_subpic_nb );
for
(
i
=
0
;
i
<
mat
.
i_subpic_nb
;
i
++
)
{
GET
(
&
mat
.
pi_subpic_atrt
[
i
],
6
);
...
...
@@ -744,12 +746,14 @@ static vmg_vts_atrt_t ReadVTSAttr( ifo_t* p_ifo )
GETS
(
&
atrt
.
p_vts_atrt
[
i
].
i_vtsm_video_atrt
);
FLUSH
(
1
);
GETC
(
&
atrt
.
p_vts_atrt
[
i
].
i_vtsm_audio_nb
);
//fprintf( stderr, "m audio nb : %d\n", atrt.p_vts_atrt[i].i_vtsm_audio_nb );
for
(
j
=
0
;
j
<
8
;
j
++
)
{
GETLL
(
&
atrt
.
p_vts_atrt
[
i
].
pi_vtsm_audio_atrt
[
j
]
);
}
FLUSH
(
17
);
GETC
(
&
atrt
.
p_vts_atrt
[
i
].
i_vtsm_subpic_nb
);
//fprintf( stderr, "m subp nb : %d\n", atrt.p_vts_atrt[i].i_vtsm_subpic_nb );
for
(
j
=
0
;
j
<
28
;
j
++
)
{
GET
(
&
atrt
.
p_vts_atrt
[
i
].
pi_vtsm_subpic_atrt
[
j
],
6
);
...
...
@@ -759,13 +763,15 @@ static vmg_vts_atrt_t ReadVTSAttr( ifo_t* p_ifo )
GETS
(
&
atrt
.
p_vts_atrt
[
i
].
i_vtstt_video_atrt
);
FLUSH
(
1
);
GETL
(
&
atrt
.
p_vts_atrt
[
i
].
i_vtstt_audio_nb
);
//fprintf( stderr, "tt audio nb : %d\n", atrt.p_vts_atrt[i].i_vtstt_audio_nb );
for
(
j
=
0
;
j
<
8
;
j
++
)
{
GETLL
(
&
atrt
.
p_vts_atrt
[
i
].
pi_vtstt_audio_atrt
[
j
]
);
}
FLUSH
(
17
);
GETC
(
&
atrt
.
p_vts_atrt
[
i
].
i_vtstt_subpic_nb
);
for
(
j
=
0
;
j
<
atrt
.
p_vts_atrt
[
i
].
i_vtstt_subpic_nb
;
j
++
)
//fprintf( stderr, "tt subp nb : %d\n", atrt.p_vts_atrt[i].i_vtstt_subpic_nb );
for
(
j
=
0
;
j
<
28
/*atrt.p_vts_atrt[i].i_vtstt_subpic_nb*/
;
j
++
)
{
GET
(
&
atrt
.
p_vts_atrt
[
i
].
pi_vtstt_subpic_atrt
[
j
],
6
);
/* FIXME : Fix endianness issue here */
...
...
@@ -888,12 +894,14 @@ static vtsi_mat_t ReadVTSInfMat( ifo_t* p_ifo )
GETS
(
&
mat
.
i_video_atrt
);
FLUSH
(
1
);
GETC
(
&
mat
.
i_audio_nb
);
//fprintf( stderr, "vtsi audio nb : %d\n", mat.i_audio_nb );
for
(
i
=
0
;
i
<
8
;
i
++
)
{
GETLL
(
&
mat
.
pi_audio_atrt
[
i
]
);
}
FLUSH
(
17
);
GETC
(
&
mat
.
i_subpic_nb
);
//fprintf( stderr, "vtsi subpic nb : %d\n", mat.i_subpic_nb );
for
(
i
=
0
;
i
<
mat
.
i_subpic_nb
;
i
++
)
{
GET
(
&
mat
.
pi_subpic_atrt
[
i
],
6
);
...
...
plugins/dvd/input_dvd.c
View file @
b9574a95
...
...
@@ -10,7 +10,7 @@
* -dvd_udf to find files
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_dvd.c,v 1.
2 2001/02/08 06:41:56
stef Exp $
* $Id: input_dvd.c,v 1.
3 2001/02/08 08:08:03
stef Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -185,8 +185,7 @@ static void DVDInit( input_thread_t * p_input )
p_method
->
css
=
CSSInit
(
p_input
->
i_handle
);
p_method
->
css
.
i_title_nb
=
p_method
->
ifo
.
vmg
.
mat
.
i_tts_nb
;
if
(
(
p_method
->
css
.
p_title_key
=
malloc
(
p_method
->
css
.
i_title_nb
*
sizeof
(
p_method
->
css
.
p_title_key
)
)
)
==
NULL
)
malloc
(
p_method
->
css
.
i_title_nb
*
sizeof
(
title_key_t
)
)
)
==
NULL
)
{
intf_ErrMsg
(
"Out of memory"
);
p_input
->
b_error
=
1
;
...
...
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