Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bitstream
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
bitstream
Commits
f35e98e4
Commit
f35e98e4
authored
Sep 08, 2011
by
Georgi Chorbadzhiyski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variables.
parent
a041a344
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
dvb/sim.h
dvb/sim.h
+0
-1
mpeg/psi.h
mpeg/psi.h
+0
-2
No files found.
dvb/sim.h
View file @
f35e98e4
...
...
@@ -211,7 +211,6 @@ static inline bool tlv_append_data(uint8_t *p_tlv, uint16_t i_type,
const
uint8_t
*
p_data
,
uint16_t
i_length
)
{
uint8_t
*
p_tlv_n
=
tlv_find_param
(
p_tlv
,
TLV_PARAM_EMPTY
,
0
);
int
i
;
if
(
!
tlv_validate_param
(
p_tlv
,
p_tlv_n
,
i_length
+
TLV_PARAM_EMPTY_SIZE
))
return
false
;
...
...
mpeg/psi.h
View file @
f35e98e4
...
...
@@ -1034,7 +1034,6 @@ static inline bool cat_validate(const uint8_t *p_cat)
{
uint16_t
i_section_size
=
psi_get_length
(
p_cat
)
+
PSI_HEADER_SIZE
-
PSI_CRC_SIZE
;
const
uint8_t
*
p_cat_n
;
if
(
!
psi_get_syntax
(
p_cat
)
||
psi_get_section
(
p_cat
)
||
psi_get_lastsection
(
p_cat
)
...
...
@@ -1058,7 +1057,6 @@ static inline bool cat_table_validate(uint8_t **pp_sections)
for
(
i
=
0
;
i
<=
i_last_section
;
i
++
)
{
uint8_t
*
p_section
=
psi_table_get_section
(
pp_sections
,
i
);
int
j
=
0
;
if
(
!
psi_check_crc
(
p_section
))
return
false
;
...
...
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