projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d06037
)
dpcm: remove unneeded buf_size==0 check.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 2 Nov 2011 20:47:53 +0000
(16:47 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 11 Nov 2011 19:17:39 +0000
(14:17 -0500)
It is already checked in avcodec_decode_audio3()
libavcodec/dpcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/dpcm.c
b/libavcodec/dpcm.c
index
6ba8ab1
..
f6531db
100644
(file)
--- a/
libavcodec/dpcm.c
+++ b/
libavcodec/dpcm.c
@@
-179,9
+179,6
@@
static int dpcm_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
int stereo = s->channels - 1;
int16_t *output_samples = data;
- if (!buf_size)
- return 0;
-
/* calculate output size */
switch(avctx->codec->id) {
case CODEC_ID_ROQ_DPCM: