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
e0da97cb
Commit
e0da97cb
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: we only need int i declared for the for loop
Signed-off-by:
Michael Krufky
<
mkrufky@linuxtv.org
>
parent
c833e5a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/descriptors/dr_a1.c
src/descriptors/dr_a1.c
+1
-2
No files found.
src/descriptors/dr_a1.c
View file @
e0da97cb
...
...
@@ -48,7 +48,6 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
dvbpsi_descriptor_t
*
p_descriptor
)
{
dvbpsi_service_location_dr_t
*
p_decoded
;
int
i
;
uint8_t
*
buf
=
p_descriptor
->
p_data
;
/* Check the tag */
...
...
@@ -77,7 +76,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
buf
=
&
p_descriptor
->
p_data
[
3
];
for
(
i
=
0
;
i
<
p_decoded
->
i_number_elements
;
i
++
)
for
(
i
nt
i
=
0
;
i
<
p_decoded
->
i_number_elements
;
i
++
)
{
dvbpsi_service_location_element_t
*
p_element
=
(
dvbpsi_service_location_element_t
*
)
malloc
(
sizeof
(
dvbpsi_service_location_element_t
));
...
...
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