changeset 24591:1966dc28e5a5

Get rid of rather pointless asserts
author reimar
date Mon, 24 Sep 2007 22:18:47 +0000
parents 2c238fa777ff
children 664366177d29
files libmpdemux/demux_audio.c
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c	Mon Sep 24 21:49:58 2007 +0000
+++ b/libmpdemux/demux_audio.c	Mon Sep 24 22:18:47 2007 +0000
@@ -13,9 +13,6 @@
 #include "libavutil/intreadwrite.h"
 
 #include <string.h>
-#ifdef MP_DEBUG
-#include <assert.h>
-#endif
 
 #define MP3 1
 #define WAV 2
@@ -284,10 +281,6 @@
   // mp3_hdrs list is sorted first by next_frame_pos and then by frame_pos
   mp3_hdr_t *mp3_hdrs = NULL, *mp3_found = NULL;
   da_priv_t* priv;
-#ifdef MP_DEBUG
-  assert(demuxer != NULL);
-  assert(demuxer->stream != NULL);
-#endif
   
   s = demuxer->stream;
 
@@ -557,11 +550,6 @@
   demuxer_t* demux;
   da_priv_t* priv;
   stream_t* s;
-#ifdef MP_DEBUG
-  assert(ds != NULL);
-  assert(ds->sh != NULL);
-  assert(ds->demuxer != NULL);
-#endif
   sh_audio = ds->sh;
   demux = ds->demuxer;
   priv = demux->priv;