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
bad9abe4
Commit
bad9abe4
authored
May 19, 2013
by
Michael Krufky
Committed by
Jean-Paul Saman
Feb 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dr_a1: fix capitalization
Signed-off-by:
Michael Krufky
<
mkrufky@linuxtv.org
>
parent
4ed9972d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/descriptors/dr_a1.c
src/descriptors/dr_a1.c
+2
-2
src/descriptors/dr_a1.h
src/descriptors/dr_a1.h
+4
-4
No files found.
src/descriptors/dr_a1.c
View file @
bad9abe4
...
...
@@ -75,7 +75,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
p_descriptor
->
p_decoded
=
(
void
*
)
p_decoded
;
p_decoded
->
i_
PCR_PID
=
dvbpsi_get_bits
(
buf
,
3
,
13
);
p_decoded
->
i_
pcr_pid
=
dvbpsi_get_bits
(
buf
,
3
,
13
);
p_decoded
->
i_number_elements
=
dvbpsi_get_bits
(
buf
,
16
,
8
);
buf
=
&
p_descriptor
->
p_data
[
3
];
...
...
@@ -90,7 +90,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
memset
(
p_element
,
0
,
sizeof
(
dvbpsi_service_location_element_t
));
p_element
->
i_stream_type
=
dvbpsi_get_bits
(
buf
,
0
,
8
);
p_element
->
i_elementary_
PID
=
dvbpsi_get_bits
(
buf
,
11
,
13
);
p_element
->
i_elementary_
pid
=
dvbpsi_get_bits
(
buf
,
11
,
13
);
memcpy
(
p_element
->
i_iso_639_code
,
&
buf
[
3
],
3
);
if
(
p_decoded
->
p_first_element
==
NULL
)
...
...
src/descriptors/dr_a1.h
View file @
bad9abe4
...
...
@@ -21,8 +21,8 @@ Service Location Descriptor.
*/
#ifndef _DVBPSI_DR_
a
1_H_
#define _DVBPSI_DR_
a
1_H_
#ifndef _DVBPSI_DR_
A
1_H_
#define _DVBPSI_DR_
A
1_H_
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -32,7 +32,7 @@ extern "C" {
typedef
struct
dvbpsi_service_location_element_s
{
uint8_t
i_stream_type
;
uint16_t
i_elementary_
PID
;
uint16_t
i_elementary_
pid
;
char
i_iso_639_code
[
3
];
struct
dvbpsi_service_location_element_s
*
p_next
;
...
...
@@ -55,7 +55,7 @@ typedef struct dvbpsi_service_location_element_s
*/
typedef
struct
dvbpsi_service_location_dr_s
{
uint16_t
i_
PCR_PID
;
/*!< PID of the Transport Stream packets*/
uint16_t
i_
pcr_pid
;
/*!< PID of the Transport Stream packets*/
uint8_t
i_number_elements
;
/*!< number of elements used for this service */
dvbpsi_service_location_element_t
*
p_first_element
;
...
...
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