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
23cec134
Commit
23cec134
authored
Mar 16, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/psi.{c,h}: update documentation
parent
f53ea0e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/psi.c
src/psi.c
+2
-2
src/psi.h
src/psi.h
+3
-3
No files found.
src/psi.c
View file @
23cec134
...
@@ -96,7 +96,7 @@ bool dvbpsi_ValidPSISection(dvbpsi_psi_section_t* p_section)
...
@@ -96,7 +96,7 @@ bool dvbpsi_ValidPSISection(dvbpsi_psi_section_t* p_section)
{
{
if
(
p_section
->
b_syntax_indicator
)
if
(
p_section
->
b_syntax_indicator
)
{
{
/* Check the CRC_32 if b_syntax_indicator is
0
*/
/* Check the CRC_32 if b_syntax_indicator is
false
*/
uint32_t
i_crc
=
0xffffffff
;
uint32_t
i_crc
=
0xffffffff
;
uint8_t
*
p_byte
=
p_section
->
p_data
;
uint8_t
*
p_byte
=
p_section
->
p_data
;
...
@@ -113,7 +113,7 @@ bool dvbpsi_ValidPSISection(dvbpsi_psi_section_t* p_section)
...
@@ -113,7 +113,7 @@ bool dvbpsi_ValidPSISection(dvbpsi_psi_section_t* p_section)
}
}
else
else
{
{
/* No check to do if b_syntax_indicator is
0
*/
/* No check to do if b_syntax_indicator is
false
*/
return
false
;
return
false
;
}
}
}
}
...
...
src/psi.h
View file @
23cec134
...
@@ -49,17 +49,17 @@ extern "C" {
...
@@ -49,17 +49,17 @@ extern "C" {
* dvbpsi_psi_section_s::p_data stores the complete section including the
* dvbpsi_psi_section_s::p_data stores the complete section including the
* header.
* header.
*
*
* When dvbpsi_psi_section_s::b_syntax_indicator ==
0
,
* When dvbpsi_psi_section_s::b_syntax_indicator ==
false
,
* dvbpsi_psi_section_s::p_payload_start points immediately after the
* dvbpsi_psi_section_s::p_payload_start points immediately after the
* section_length field and dvbpsi_psi_section_s::p_payload_end points
* section_length field and dvbpsi_psi_section_s::p_payload_end points
* immediately after the end of the section (don't try to access this byte).
* immediately after the end of the section (don't try to access this byte).
*
*
* When dvbpsi_psi_section_s::b_syntax_indicator !=
0
,
* When dvbpsi_psi_section_s::b_syntax_indicator !=
false
,
* dvbpsi_psi_section_s::p_payload_start points immediately after the
* dvbpsi_psi_section_s::p_payload_start points immediately after the
* last_section_number field and dvbpsi_psi_section_s::p_payload_end points to
* last_section_number field and dvbpsi_psi_section_s::p_payload_end points to
* the first byte of the CRC_32 field.
* the first byte of the CRC_32 field.
*
*
* When dvbpsi_psi_section_s::b_syntax_indicator ==
0
* When dvbpsi_psi_section_s::b_syntax_indicator ==
false
* dvbpsi_psi_section_s::i_extension, dvbpsi_psi_section_s::i_version,
* dvbpsi_psi_section_s::i_extension, dvbpsi_psi_section_s::i_version,
* dvbpsi_psi_section_s::b_current_next, dvbpsi_psi_section_s::i_number,
* dvbpsi_psi_section_s::b_current_next, dvbpsi_psi_section_s::i_number,
* dvbpsi_psi_section_s::i_last_number, and dvbpsi_psi_section_s::i_crc are
* dvbpsi_psi_section_s::i_last_number, and dvbpsi_psi_section_s::i_crc are
...
...
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