Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9105ab0a
Commit
9105ab0a
authored
Feb 23, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS demux: kill warnings
parent
d2c15baf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/ts.c
modules/demux/ts.c
+3
-3
No files found.
modules/demux/ts.c
View file @
9105ab0a
...
@@ -1673,7 +1673,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
...
@@ -1673,7 +1673,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
/* FIXME find real max size */
/* FIXME find real max size */
/* const int i_max = */
block_ChainExtract
(
p_pes
,
header
,
34
);
/* const int i_max = */
block_ChainExtract
(
p_pes
,
header
,
34
);
if
(
header
[
0
]
!=
0
||
header
[
1
]
!=
0
||
header
[
2
]
!=
1
)
if
(
header
[
0
]
!=
0
||
header
[
1
]
!=
0
||
header
[
2
]
!=
1
)
{
{
if
(
!
p_demux
->
p_sys
->
b_silent
)
if
(
!
p_demux
->
p_sys
->
b_silent
)
...
@@ -2809,7 +2809,7 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
...
@@ -2809,7 +2809,7 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
{
{
const
size_t
i_length
=
strlen
(
ppsz_broken_providers
[
i
]);
const
size_t
i_length
=
strlen
(
ppsz_broken_providers
[
i
]);
if
(
pD
->
i_service_provider_name_length
==
i_length
&&
if
(
pD
->
i_service_provider_name_length
==
i_length
&&
!
strncmp
(
pD
->
i_service_provider_name
,
ppsz_broken_providers
[
i
],
i_length
)
)
!
strncmp
(
(
char
*
)
pD
->
i_service_provider_name
,
ppsz_broken_providers
[
i
],
i_length
)
)
p_sys
->
b_broken_charset
=
true
;
p_sys
->
b_broken_charset
=
true
;
}
}
...
@@ -3505,7 +3505,7 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pid_t *pid,
...
@@ -3505,7 +3505,7 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pid_t *pid,
/* */
/* */
const
dvbpsi_subtitle_t
*
p
=
&
p_sub
->
p_subtitle
[
i
];
const
dvbpsi_subtitle_t
*
p
=
&
p_sub
->
p_subtitle
[
i
];
p_es
->
fmt
.
psz_language
=
strndup
(
p
->
i_iso6392_language_code
,
3
);
p_es
->
fmt
.
psz_language
=
strndup
(
(
char
*
)
p
->
i_iso6392_language_code
,
3
);
switch
(
p
->
i_subtitling_type
)
switch
(
p
->
i_subtitling_type
)
{
{
case
0x10
:
/* unspec. */
case
0x10
:
/* unspec. */
...
...
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