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
ca127bb7
Commit
ca127bb7
authored
Apr 11, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/decode_mpeg.c: fix indentation (CID 17260)
parent
b31554e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
examples/decode_mpeg.c
examples/decode_mpeg.c
+27
-27
No files found.
examples/decode_mpeg.c
View file @
ca127bb7
...
@@ -460,33 +460,33 @@ static void DumpSubtitleDescriptor(dvbpsi_subtitling_dr_t* p_subtitle_descriptor
...
@@ -460,33 +460,33 @@ static void DumpSubtitleDescriptor(dvbpsi_subtitling_dr_t* p_subtitle_descriptor
*****************************************************************************/
*****************************************************************************/
static
void
DumpDescriptors
(
const
char
*
str
,
dvbpsi_descriptor_t
*
p_descriptor
)
static
void
DumpDescriptors
(
const
char
*
str
,
dvbpsi_descriptor_t
*
p_descriptor
)
{
{
int
i
;
int
i
;
while
(
p_descriptor
)
while
(
p_descriptor
)
{
{
fprintf
(
stderr
,
"%s 0x%02x : "
,
str
,
p_descriptor
->
i_tag
);
fprintf
(
stderr
,
"%s 0x%02x : "
,
str
,
p_descriptor
->
i_tag
);
switch
(
p_descriptor
->
i_tag
)
switch
(
p_descriptor
->
i_tag
)
{
{
case
SYSTEM_CLOCK_DR
:
case
SYSTEM_CLOCK_DR
:
DumpSystemClockDescriptor
(
dvbpsi_DecodeSystemClockDr
(
p_descriptor
));
DumpSystemClockDescriptor
(
dvbpsi_DecodeSystemClockDr
(
p_descriptor
));
break
;
break
;
case
MAX_BITRATE_DR
:
case
MAX_BITRATE_DR
:
DumpMaxBitrateDescriptor
(
dvbpsi_DecodeMaxBitrateDr
(
p_descriptor
));
DumpMaxBitrateDescriptor
(
dvbpsi_DecodeMaxBitrateDr
(
p_descriptor
));
break
;
break
;
case
STREAM_IDENTIFIER_DR
:
case
STREAM_IDENTIFIER_DR
:
DumpStreamIdentifierDescriptor
(
dvbpsi_DecodeStreamIdentifierDr
(
p_descriptor
));
DumpStreamIdentifierDescriptor
(
dvbpsi_DecodeStreamIdentifierDr
(
p_descriptor
));
break
;
break
;
case
SUBTITLING_DR
:
case
SUBTITLING_DR
:
DumpSubtitleDescriptor
(
dvbpsi_DecodeSubtitlingDr
(
p_descriptor
));
DumpSubtitleDescriptor
(
dvbpsi_DecodeSubtitlingDr
(
p_descriptor
));
break
;
break
;
default:
default:
fprintf
(
stderr
,
"
\"
"
);
fprintf
(
stderr
,
"
\"
"
);
for
(
i
=
0
;
i
<
p_descriptor
->
i_length
;
i
++
)
for
(
i
=
0
;
i
<
p_descriptor
->
i_length
;
i
++
)
fprintf
(
stderr
,
"%c"
,
p_descriptor
->
p_data
[
i
]);
fprintf
(
stderr
,
"%c"
,
p_descriptor
->
p_data
[
i
]);
fprintf
(
stderr
,
"
\"\n
"
);
fprintf
(
stderr
,
"
\"\n
"
);
}
}
p_descriptor
=
p_descriptor
->
p_next
;
p_descriptor
=
p_descriptor
->
p_next
;
}
}
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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