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
7e6b5cd7
Commit
7e6b5cd7
authored
Dec 03, 2015
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo: fix inverted logic
parent
268d5c1f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+7
-7
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
7e6b5cd7
...
@@ -2538,7 +2538,7 @@ void libdvbpsi_exit(ts_stream_t *stream)
...
@@ -2538,7 +2538,7 @@ void libdvbpsi_exit(ts_stream_t *stream)
{
{
summary
(
stdout
,
stream
);
summary
(
stdout
,
stream
);
if
(
dvbpsi_decoder_chain_delete
(
stream
->
pat
.
handle
))
if
(
!
dvbpsi_decoder_chain_delete
(
stream
->
pat
.
handle
))
fprintf
(
stderr
,
"dvbinfo: failed to delete PAT decoder chain! .. possibly leaking memory!!
\n
"
);
fprintf
(
stderr
,
"dvbinfo: failed to delete PAT decoder chain! .. possibly leaking memory!!
\n
"
);
ts_pmt_t
*
p_pmt
=
stream
->
pmt
;
ts_pmt_t
*
p_pmt
=
stream
->
pmt
;
...
@@ -2575,17 +2575,17 @@ void libdvbpsi_exit(ts_stream_t *stream)
...
@@ -2575,17 +2575,17 @@ void libdvbpsi_exit(ts_stream_t *stream)
free
(
p_atsc_prev
);
free
(
p_atsc_prev
);
}
}
if
(
dvbpsi_decoder_chain_delete
(
stream
->
cat
.
handle
))
if
(
!
dvbpsi_decoder_chain_delete
(
stream
->
cat
.
handle
))
fprintf
(
stderr
,
"dvbinfo: failed to delete CAT decoder chain! .. possibly leaking memory!!
\n
"
);
fprintf
(
stderr
,
"dvbinfo: failed to delete CAT decoder chain! .. possibly leaking memory!!
\n
"
);
if
(
dvbpsi_decoder_chain_delete
(
stream
->
sdt
.
handle
))
if
(
!
dvbpsi_decoder_chain_delete
(
stream
->
sdt
.
handle
))
fprintf
(
stderr
,
"dvbinfo: failed to delete SDT decoder chain! .. possibly leaking memory!!
\n
"
);
fprintf
(
stderr
,
"dvbinfo: failed to delete SDT decoder chain! .. possibly leaking memory!!
\n
"
);
if
(
dvbpsi_decoder_chain_delete
(
stream
->
eit
.
handle
))
if
(
!
dvbpsi_decoder_chain_delete
(
stream
->
eit
.
handle
))
fprintf
(
stderr
,
"dvbinfo: failed to delete EIT decoder chain! .. possibly leaking memory!!
\n
"
);
fprintf
(
stderr
,
"dvbinfo: failed to delete EIT decoder chain! .. possibly leaking memory!!
\n
"
);
if
(
dvbpsi_decoder_chain_delete
(
stream
->
rst
.
handle
))
if
(
!
dvbpsi_decoder_chain_delete
(
stream
->
rst
.
handle
))
fprintf
(
stderr
,
"dvbinfo: failed to delete RST decoder chain! .. possibly leaking memory!!
\n
"
);
fprintf
(
stderr
,
"dvbinfo: failed to delete RST decoder chain! .. possibly leaking memory!!
\n
"
);
if
(
dvbpsi_decoder_chain_delete
(
stream
->
tdt
.
handle
))
if
(
!
dvbpsi_decoder_chain_delete
(
stream
->
tdt
.
handle
))
fprintf
(
stderr
,
"dvbinfo: failed to delete TDT decoder chain! .. possibly leaking memory!!
\n
"
);
fprintf
(
stderr
,
"dvbinfo: failed to delete TDT decoder chain! .. possibly leaking memory!!
\n
"
);
if
(
dvbpsi_decoder_chain_delete
(
stream
->
atsc
.
handle
))
if
(
!
dvbpsi_decoder_chain_delete
(
stream
->
atsc
.
handle
))
fprintf
(
stderr
,
"dvbinfo: failed to delete ATSC decoder chain! .. possibly leaking memory!!
\n
"
);
fprintf
(
stderr
,
"dvbinfo: failed to delete ATSC decoder chain! .. possibly leaking memory!!
\n
"
);
if
(
stream
->
pat
.
handle
)
if
(
stream
->
pat
.
handle
)
...
...
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