1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

adpcmdec: remove unneeded buf_size==0 check.

This is already done by avcodec_decode_audio3()
This commit is contained in:
Justin Ruggles 2011-10-02 14:43:28 -04:00
parent f7f7c1942b
commit 8140a1288f

View File

@ -347,9 +347,6 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
uint32_t samples_in_chunk;
int count1, count2;
if (!buf_size)
return 0;
//should protect all 4bit ADPCM variants
//8 is needed for CODEC_ID_ADPCM_IMA_WAV with 2 channels
//