mirror of https://github.com/mpv-player/mpv
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24946 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c187ae99e6
commit
c849b6683a
|
@ -417,9 +417,6 @@ static int filter_n_bytes(sh_audio_t *sh, int len)
|
|||
* 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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue