projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f7c19
)
adpcmdec: remove unneeded buf_size==0 check.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sun, 2 Oct 2011 18:43:28 +0000
(14:43 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 14 Oct 2011 19:53:41 +0000
(15:53 -0400)
This is already done by avcodec_decode_audio3()
libavcodec/adpcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/adpcm.c
b/libavcodec/adpcm.c
index
eb244bd
..
8ab3bd8
100644
(file)
--- 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
//