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
6491b05b
Commit
6491b05b
authored
Nov 25, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few warnings and remove extra white spaces
parent
03e6fec2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
54 deletions
+51
-54
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+51
-54
No files found.
modules/demux/mkv.cpp
View file @
6491b05b
...
@@ -478,7 +478,7 @@ block_t *block_zlib_decompress( vlc_object_t *p_this, block_t *p_in_block ) {
...
@@ -478,7 +478,7 @@ block_t *block_zlib_decompress( vlc_object_t *p_this, block_t *p_in_block ) {
/**
/**
* Helper function to print the mkv parse tree
* Helper function to print the mkv parse tree
*/
*/
static
void
MkvTree
(
demux_t
&
demuxer
,
int
i_level
,
char
*
psz_format
,
...
)
static
void
MkvTree
(
demux_t
&
demuxer
,
int
i_level
,
c
onst
c
har
*
psz_format
,
...
)
{
{
va_list
args
;
va_list
args
;
if
(
i_level
>
9
)
if
(
i_level
>
9
)
...
@@ -487,7 +487,7 @@ static void MkvTree( demux_t & demuxer, int i_level, char *psz_format, ... )
...
@@ -487,7 +487,7 @@ static void MkvTree( demux_t & demuxer, int i_level, char *psz_format, ... )
return
;
return
;
}
}
va_start
(
args
,
psz_format
);
va_start
(
args
,
psz_format
);
static
c
har
*
psz_foo
=
"| | | | | | | | | |"
;
static
c
onst
char
psz_foo
[]
=
"| | | | | | | | | |"
;
char
*
psz_foo2
=
(
char
*
)
malloc
(
(
i_level
*
4
+
3
+
strlen
(
psz_format
)
)
*
sizeof
(
char
)
);
char
*
psz_foo2
=
(
char
*
)
malloc
(
(
i_level
*
4
+
3
+
strlen
(
psz_format
)
)
*
sizeof
(
char
)
);
strncpy
(
psz_foo2
,
psz_foo
,
4
*
i_level
);
strncpy
(
psz_foo2
,
psz_foo
,
4
*
i_level
);
psz_foo2
[
4
*
i_level
]
=
'+'
;
psz_foo2
[
4
*
i_level
]
=
'+'
;
...
@@ -603,10 +603,10 @@ typedef struct
...
@@ -603,10 +603,10 @@ typedef struct
vlc_bool_t
b_silent
;
vlc_bool_t
b_silent
;
/* informative */
/* informative */
c
har
*
psz_codec_name
;
c
onst
char
*
psz_codec_name
;
c
har
*
psz_codec_settings
;
c
onst
char
*
psz_codec_settings
;
c
har
*
psz_codec_info_url
;
c
onst
char
*
psz_codec_info_url
;
c
har
*
psz_codec_download_url
;
c
onst
char
*
psz_codec_download_url
;
/* encryption/compression */
/* encryption/compression */
int
i_compression_type
;
int
i_compression_type
;
...
@@ -4079,7 +4079,7 @@ void matroska_segment_c::ParseTrackEntry( KaxTrackEntry *m )
...
@@ -4079,7 +4079,7 @@ void matroska_segment_c::ParseTrackEntry( KaxTrackEntry *m )
}
}
else
if
(
MKV_IS_ID
(
l
,
KaxTrackType
)
)
else
if
(
MKV_IS_ID
(
l
,
KaxTrackType
)
)
{
{
char
*
psz_type
;
c
onst
c
har
*
psz_type
;
KaxTrackType
&
ttype
=
*
(
KaxTrackType
*
)
l
;
KaxTrackType
&
ttype
=
*
(
KaxTrackType
*
)
l
;
switch
(
uint8
(
ttype
)
)
switch
(
uint8
(
ttype
)
)
...
@@ -4261,20 +4261,17 @@ void matroska_segment_c::ParseTrackEntry( KaxTrackEntry *m )
...
@@ -4261,20 +4261,17 @@ void matroska_segment_c::ParseTrackEntry( KaxTrackEntry *m )
}
}
}
}
}
}
else
else
{
{
MkvTree
(
sys
.
demuxer
,
5
,
"Unknown (%s)"
,
typeid
(
*
l3
).
name
()
);
MkvTree
(
sys
.
demuxer
,
5
,
"Unknown (%s)"
,
typeid
(
*
l3
).
name
()
);
}
}
}
}
}
}
else
else
{
{
MkvTree
(
sys
.
demuxer
,
4
,
"Unknown (%s)"
,
typeid
(
*
l2
).
name
()
);
MkvTree
(
sys
.
demuxer
,
4
,
"Unknown (%s)"
,
typeid
(
*
l2
).
name
()
);
}
}
}
}
}
}
// else if( EbmlId( *l ) == KaxCodecSettings::ClassInfos.GlobalId )
// else if( EbmlId( *l ) == KaxCodecSettings::ClassInfos.GlobalId )
// {
// {
...
...
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