OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82be06b
)
truespeech: remove unneeded zero-size packet check.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 13 Oct 2011 03:10:41 +0000
(23:10 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 13 Oct 2011 20:25:59 +0000
(16:25 -0400)
This is already checked in avcodec_decode_audio3()
libavcodec/truespeech.c
patch
|
blob
|
history
diff --git
a/libavcodec/truespeech.c
b/libavcodec/truespeech.c
index
6b6d131
..
0ab2cab
100644
(file)
--- a/
libavcodec/truespeech.c
+++ b/
libavcodec/truespeech.c
@@
-344,9
+344,6
@@
static int truespeech_decode_frame(AVCodecContext *avctx,
int16_t out_buf[240];
int iterations;
- if (!buf_size)
- return 0;
-
if (buf_size < 32) {
av_log(avctx, AV_LOG_ERROR,
"Too small input buffer (%d bytes), need at least 32 bytes\n", buf_size);