Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
cf495469
Commit
cf495469
authored
Jun 13, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo: handle errors
parent
dd861d0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+3
-1
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
cf495469
...
@@ -812,6 +812,8 @@ static void DumpCUEIDescriptor(dvbpsi_cuei_dr_t* p_cuei_descriptor)
...
@@ -812,6 +812,8 @@ static void DumpCUEIDescriptor(dvbpsi_cuei_dr_t* p_cuei_descriptor)
{
{
const
char
*
cuei_stream_type
;
const
char
*
cuei_stream_type
;
assert
(
p_cuei_descriptor
);
switch
(
p_cuei_descriptor
->
i_cue_stream_type
)
switch
(
p_cuei_descriptor
->
i_cue_stream_type
)
{
{
case
0x00
:
case
0x00
:
...
@@ -827,7 +829,7 @@ static void DumpCUEIDescriptor(dvbpsi_cuei_dr_t* p_cuei_descriptor)
...
@@ -827,7 +829,7 @@ static void DumpCUEIDescriptor(dvbpsi_cuei_dr_t* p_cuei_descriptor)
cuei_stream_type
=
"Reserved"
;
cuei_stream_type
=
"Reserved"
;
else
if
((
p_cuei_descriptor
->
i_cue_stream_type
>=
0x80
))
else
if
((
p_cuei_descriptor
->
i_cue_stream_type
>=
0x80
))
cuei_stream_type
=
"User defined"
;
/* 0x80 - 0xFF */
cuei_stream_type
=
"User defined"
;
/* 0x80 - 0xFF */
break
;
return
;
}
}
printf
(
"CUE Identifier stream type: (%0xd) %s
\n
"
,
printf
(
"CUE Identifier stream type: (%0xd) %s
\n
"
,
p_cuei_descriptor
->
i_cue_stream_type
,
cuei_stream_type
);
p_cuei_descriptor
->
i_cue_stream_type
,
cuei_stream_type
);
...
...
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