diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-02 14:43:28 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-14 15:53:41 -0400 |
commit | 8140a1288ff2498adcbb67db73ef9862b518bb88 (patch) | |
tree | 827b76187ca8f20c6f4859a92f57ae04b1ecd7aa /libavcodec/adpcm.c | |
parent | f7f7c1942b8f0b4dd10eecacd52678c028d28272 (diff) | |
download | ffmpeg-8140a1288ff2498adcbb67db73ef9862b518bb88.tar.gz |
adpcmdec: remove unneeded buf_size==0 check.
This is already done by avcodec_decode_audio3()
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index eb244bd05d..8ab3bd8954 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -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 // |