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
bc903a96
Commit
bc903a96
authored
Oct 30, 2013
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dr_54.h: fix typo in define DVBPSI_GetContentCategoryFromType
parent
d55efb20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+1
-1
src/descriptors/dr_54.h
src/descriptors/dr_54.h
+2
-2
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
bc903a96
...
@@ -1064,7 +1064,7 @@ static void DumpContentDescriptor(dvbpsi_content_dr_t *p_content_descriptor)
...
@@ -1064,7 +1064,7 @@ static void DumpContentDescriptor(dvbpsi_content_dr_t *p_content_descriptor)
for
(
int
i
=
0
;
i
<
p_content_descriptor
->
i_contents_number
;
i
++
)
for
(
int
i
=
0
;
i
<
p_content_descriptor
->
i_contents_number
;
i
++
)
{
{
int
i_type
=
p_content_descriptor
->
p_content
[
i
].
i_type
;
int
i_type
=
p_content_descriptor
->
p_content
[
i
].
i_type
;
int
i_category
=
DV
D
PSI_GetContentCategoryFromType
(
i_type
);
int
i_category
=
DV
B
PSI_GetContentCategoryFromType
(
i_type
);
printf
(
"
\t\t
category: %s
\n
"
,
content_category
[
i_category
].
p_category
);
printf
(
"
\t\t
category: %s
\n
"
,
content_category
[
i_category
].
p_category
);
printf
(
"
\t\t
sub category: %s
\n
"
,
GetContentSubCategory
(
i_type
));
printf
(
"
\t\t
sub category: %s
\n
"
,
GetContentSubCategory
(
i_type
));
...
...
src/descriptors/dr_54.h
View file @
bc903a96
...
@@ -35,11 +35,11 @@ extern "C" {
...
@@ -35,11 +35,11 @@ extern "C" {
#endif
#endif
/*!
/*!
* \def DV
D
PSI_GetContentCategoryFromType
* \def DV
B
PSI_GetContentCategoryFromType
* \brief Extract content category by type. The value 'type' includes the
* \brief Extract content category by type. The value 'type' includes the
* content category (MSB) and content detail (LSB).
* content category (MSB) and content detail (LSB).
*/
*/
#define DV
D
PSI_GetContentCategoryFromType(type) ((type) >> 4)
#define DV
B
PSI_GetContentCategoryFromType(type) ((type) >> 4)
/*!
/*!
* \def L1L2MERGE
* \def L1L2MERGE
...
...
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