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
efbd8f15
Commit
efbd8f15
authored
Oct 16, 2017
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dr_56.c: fix generation of descriptors with multiple teletext pages.
parent
fe4f067d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/descriptors/dr_56.c
src/descriptors/dr_56.c
+3
-3
No files found.
src/descriptors/dr_56.c
View file @
efbd8f15
...
...
@@ -112,15 +112,15 @@ dvbpsi_descriptor_t * dvbpsi_GenTeletextDr(dvbpsi_teletext_dr_t * p_decoded,
/* Encode data */
for
(
int
i
=
0
;
i
<
p_decoded
->
i_pages_number
;
i
++
)
{
memcpy
(
p_descriptor
->
p_data
+
8
*
i
,
memcpy
(
p_descriptor
->
p_data
+
5
*
i
,
p_decoded
->
p_pages
[
i
].
i_iso6392_language_code
,
3
);
p_descriptor
->
p_data
[
8
*
i
+
3
]
=
p_descriptor
->
p_data
[
5
*
i
+
3
]
=
(
uint8_t
)
(
(
(
uint8_t
)
p_decoded
->
p_pages
[
i
].
i_teletext_type
<<
3
)
|
(
(
uint8_t
)
p_decoded
->
p_pages
[
i
].
i_teletext_magazine_number
&
0x07
)
);
p_descriptor
->
p_data
[
8
*
i
+
4
]
=
p_descriptor
->
p_data
[
5
*
i
+
4
]
=
p_decoded
->
p_pages
[
i
].
i_teletext_page_number
;
}
...
...
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