mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-26 18:40:00 +08:00
adpcmdec: remove unneeded buf_size==0 check.
This is already done by avcodec_decode_audio3()
This commit is contained in:
@ -347,9 +347,6 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
|
|||||||
uint32_t samples_in_chunk;
|
uint32_t samples_in_chunk;
|
||||||
int count1, count2;
|
int count1, count2;
|
||||||
|
|
||||||
if (!buf_size)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
//should protect all 4bit ADPCM variants
|
//should protect all 4bit ADPCM variants
|
||||||
//8 is needed for CODEC_ID_ADPCM_IMA_WAV with 2 channels
|
//8 is needed for CODEC_ID_ADPCM_IMA_WAV with 2 channels
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user