1
mirror of https://github.com/mpv-player/mpv synced 2024-09-12 23:45:53 +02:00

Get rid of rather pointless asserts

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24611 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-09-24 22:18:47 +00:00
parent 50e46d7681
commit fc686f0d6d

View File

@ -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 @@ static int demux_audio_open(demuxer_t* demuxer) {
// 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 @@ static int demux_audio_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) {
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;