src/demux.c: Fix CID #110840

[email protected] (Jean-Paul Saman) Thu, 4 Jun 2015 10:02:04 +0200 (CEST)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | Sat May 30 17:04:59 2015 +0200| [5aadc1fc45f87a1195b8d99f5fffd453cf6b94e2] | committer: Jean-Paul Saman

src/demux.c: Fix CID #110840

Remove dead debug code.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=5aadc1fc45f87a1195b8d99f5fffd453cf6b94e2
---

 src/demux.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/demux.c b/src/demux.c
index 5db63a9..ee4d45c 100644
--- a/src/demux.c
+++ b/src/demux.c
@@ -189,8 +189,6 @@ dvbpsi_demux_subdec_t *dvbpsi_NewDemuxSubDecoder(const uint8_t i_table_id,
  *****************************************************************************/
 void dvbpsi_DeleteDemuxSubDecoder(dvbpsi_demux_subdec_t *p_subdec)
 {
-    assert(p_subdec);
-
     if (!p_subdec)
         return;
     /* FIXME: find a saner way to release private decoder resources */

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvbpsi-devel