X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Finput%2Fdecoder.c;h=fdf8b18c44d797e8eaaa8e464065d93bfaac7846;hb=31268f2df54a433f2b50440bb504546bd19ed16a;hp=ce072a3389e4e8021fea2402295b71d7e5bf6773;hpb=498f442c35ff4ab95b4ddecd42874f2892fc371c;p=vlc diff --git a/src/input/decoder.c b/src/input/decoder.c index ce072a3389..fdf8b18c44 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -1136,9 +1136,6 @@ static void DecoderDecodeAudio( decoder_t *p_dec, block_t *p_block ) int i_lost = 0; int i_played = 0; - if( p_block == NULL ) - return; /* TODO: remove this check, drain audio decoders properly */ - while( (p_aout_buf = p_dec->pf_decode_audio( p_dec, &p_block )) ) { if( DecoderIsFlushing( p_dec ) )