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
99629fc2
Commit
99629fc2
authored
Aug 07, 2005
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix compile warnings
parent
e92bf3b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+5
-5
No files found.
modules/demux/mkv.cpp
View file @
99629fc2
...
@@ -2004,14 +2004,14 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
...
@@ -2004,14 +2004,14 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
size_t
i_track
;
size_t
i_track
;
/* add all es */
/* add all es */
msg_Dbg
(
&
sys
.
demuxer
,
"found %d es"
,
tracks
.
size
()
);
msg_Dbg
(
&
sys
.
demuxer
,
"found %d es"
,
(
int
)
tracks
.
size
()
);
sys
.
b_pci_packet_set
=
false
;
sys
.
b_pci_packet_set
=
false
;
for
(
i_track
=
0
;
i_track
<
tracks
.
size
();
i_track
++
)
for
(
i_track
=
0
;
i_track
<
tracks
.
size
();
i_track
++
)
{
{
if
(
tracks
[
i_track
]
->
fmt
.
i_cat
==
UNKNOWN_ES
)
if
(
tracks
[
i_track
]
->
fmt
.
i_cat
==
UNKNOWN_ES
)
{
{
msg_Warn
(
&
sys
.
demuxer
,
"invalid track[%d, n=%d]"
,
i_track
,
tracks
[
i_track
]
->
i_number
);
msg_Warn
(
&
sys
.
demuxer
,
"invalid track[%d, n=%d]"
,
(
int
)
i_track
,
tracks
[
i_track
]
->
i_number
);
tracks
[
i_track
]
->
p_es
=
NULL
;
tracks
[
i_track
]
->
p_es
=
NULL
;
continue
;
continue
;
}
}
...
@@ -2228,13 +2228,13 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
...
@@ -2228,13 +2228,13 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
else
if
(
!
strcmp
(
tracks
[
i_track
]
->
psz_codec
,
"A_TTA1"
)
)
else
if
(
!
strcmp
(
tracks
[
i_track
]
->
psz_codec
,
"A_TTA1"
)
)
{
{
/* FIXME: support this codec */
/* FIXME: support this codec */
msg_Err
(
&
sys
.
demuxer
,
"TTA not supported yet[%d, n=%d]"
,
i_track
,
tracks
[
i_track
]
->
i_number
);
msg_Err
(
&
sys
.
demuxer
,
"TTA not supported yet[%d, n=%d]"
,
(
int
)
i_track
,
tracks
[
i_track
]
->
i_number
);
tracks
[
i_track
]
->
fmt
.
i_codec
=
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
);
tracks
[
i_track
]
->
fmt
.
i_codec
=
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
);
}
}
else
if
(
!
strcmp
(
tracks
[
i_track
]
->
psz_codec
,
"A_WAVPACK4"
)
)
else
if
(
!
strcmp
(
tracks
[
i_track
]
->
psz_codec
,
"A_WAVPACK4"
)
)
{
{
/* FIXME: support this codec */
/* FIXME: support this codec */
msg_Err
(
&
sys
.
demuxer
,
"Wavpack not supported yet[%d, n=%d]"
,
i_track
,
tracks
[
i_track
]
->
i_number
);
msg_Err
(
&
sys
.
demuxer
,
"Wavpack not supported yet[%d, n=%d]"
,
(
int
)
i_track
,
tracks
[
i_track
]
->
i_number
);
tracks
[
i_track
]
->
fmt
.
i_codec
=
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
);
tracks
[
i_track
]
->
fmt
.
i_codec
=
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
);
}
}
else
if
(
!
strcmp
(
tracks
[
i_track
]
->
psz_codec
,
"S_TEXT/UTF8"
)
)
else
if
(
!
strcmp
(
tracks
[
i_track
]
->
psz_codec
,
"S_TEXT/UTF8"
)
)
...
@@ -4967,7 +4967,7 @@ void demux_sys_t::PreloadLinked( matroska_segment_c *p_segment )
...
@@ -4967,7 +4967,7 @@ void demux_sys_t::PreloadLinked( matroska_segment_c *p_segment )
{
{
sz_name
=
N_
(
"Segment "
);
sz_name
=
N_
(
"Segment "
);
char
psz_str
[
6
];
char
psz_str
[
6
];
sprintf
(
psz_str
,
"%d"
,
i
);
sprintf
(
psz_str
,
"%d"
,
(
int
)
i
);
sz_name
+=
psz_str
;
sz_name
+=
psz_str
;
p_title
->
psz_name
=
strdup
(
sz_name
.
c_str
()
);
p_title
->
psz_name
=
strdup
(
sz_name
.
c_str
()
);
}
}
...
...
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