Mercurial > mplayer.hg
changeset 24918:9d1af7d2a7fc
Remove a check+abort, this case should never happen anyway, and if it does
the most likely result is a NULL dereference which isn't much worse.
author | reimar |
---|---|
date | Sat, 03 Nov 2007 10:20:00 +0000 |
parents | ef396e93f13d |
children | 51372a34bc7d |
files | libmpcodecs/dec_audio.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c Sat Nov 03 07:41:17 2007 +0000 +++ b/libmpcodecs/dec_audio.c Sat Nov 03 10:20:00 2007 +0000 @@ -417,9 +417,6 @@ * Can reallocate sh_audio->a_out_buffer if needed to fit all filter output. */ int decode_audio(sh_audio_t *sh_audio, int minlen) { - if (!sh_audio->inited || !sh_audio->afilter) - abort(); - // Decoded audio must be cut at boundaries of this many bytes int unitsize = sh_audio->channels * sh_audio->samplesize;