Commit 8140a128 authored by Justin Ruggles's avatar Justin Ruggles

adpcmdec: remove unneeded buf_size==0 check.

This is already done by avcodec_decode_audio3()
parent f7f7c194
......@@ -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
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment