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
1647815b
Commit
1647815b
authored
Jan 27, 2016
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo: fix negated logic in error path of libdvbpsi_init()
parent
056bbfc8
Changes
1
Hide 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 @
1647815b
...
@@ -2499,19 +2499,19 @@ ts_stream_t *libdvbpsi_init(int debug, ts_stream_log_cb pf_log, void *cb_data)
...
@@ -2499,19 +2499,19 @@ ts_stream_t *libdvbpsi_init(int debug, ts_stream_log_cb pf_log, void *cb_data)
return
stream
;
return
stream
;
error:
error:
if
(
dvbpsi_chain_demux_delete
(
stream
->
pat
.
handle
))
if
(
!
dvbpsi_chain_demux_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
"
);
if
(
dvbpsi_chain_demux_delete
(
stream
->
cat
.
handle
))
if
(
!
dvbpsi_chain_demux_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_chain_demux_delete
(
stream
->
sdt
.
handle
))
if
(
!
dvbpsi_chain_demux_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_chain_demux_delete
(
stream
->
eit
.
handle
))
if
(
!
dvbpsi_chain_demux_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_chain_demux_delete
(
stream
->
rst
.
handle
))
if
(
!
dvbpsi_chain_demux_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_chain_demux_delete
(
stream
->
tdt
.
handle
))
if
(
!
dvbpsi_chain_demux_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_chain_demux_delete
(
stream
->
atsc
.
handle
))
if
(
!
dvbpsi_chain_demux_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