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
bc263984
Commit
bc263984
authored
Dec 10, 2015
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder chain: cleanup
parent
b92dd074
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/chain.c
src/chain.c
+4
-5
No files found.
src/chain.c
View file @
bc263984
...
@@ -53,13 +53,13 @@ static void dvbpsi_decoder_chain_demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t
...
@@ -53,13 +53,13 @@ static void dvbpsi_decoder_chain_demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t
assert
(
p_dvbpsi
);
assert
(
p_dvbpsi
);
assert
(
p_dvbpsi
->
p_decoder
);
assert
(
p_dvbpsi
->
p_decoder
);
dvbpsi_decoder_t
*
p_table
=
NULL
;
dvbpsi_decoder_t
*
p_demux
=
(
dvbpsi_decoder_t
*
)
p_dvbpsi
->
p_decoder
;
dvbpsi_decoder_t
*
p_demux
=
(
dvbpsi_decoder_t
*
)
p_dvbpsi
->
p_decoder
;
if
(
p_demux
==
NULL
)
{
if
(
p_demux
==
NULL
)
{
dvbpsi_DeletePSISections
(
p_section
);
dvbpsi_DeletePSISections
(
p_section
);
return
;
return
;
}
}
dvbpsi_decoder_t
*
p_table
=
NULL
;
p_table
=
dvbpsi_decoder_chain_get
(
p_dvbpsi
,
p_section
->
i_table_id
,
p_section
->
i_extension
);
p_table
=
dvbpsi_decoder_chain_get
(
p_dvbpsi
,
p_section
->
i_table_id
,
p_section
->
i_extension
);
if
(
p_table
==
NULL
)
{
if
(
p_table
==
NULL
)
{
if
(
p_demux
->
pf_new
)
if
(
p_demux
->
pf_new
)
...
@@ -67,10 +67,9 @@ static void dvbpsi_decoder_chain_demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t
...
@@ -67,10 +67,9 @@ static void dvbpsi_decoder_chain_demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t
}
}
/* Check if new table created */
/* Check if new table created */
dvbpsi_decoder_t
*
p_subtable
;
p_table
=
dvbpsi_decoder_chain_get
(
p_dvbpsi
,
p_section
->
i_table_id
,
p_section
->
i_extension
);
p_subtable
=
dvbpsi_decoder_chain_get
(
p_dvbpsi
,
p_section
->
i_table_id
,
p_section
->
i_extension
);
if
(
p_table
)
if
(
p_subtable
)
p_table
->
pf_gather
(
p_dvbpsi
,
p_section
);
p_subtable
->
pf_gather
(
p_dvbpsi
,
p_section
);
else
else
dvbpsi_DeletePSISections
(
p_section
);
dvbpsi_DeletePSISections
(
p_section
);
}
}
...
...
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