mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
truespeech: remove unneeded zero-size packet check.
This is already checked in avcodec_decode_audio3()
This commit is contained in:
parent
82be06bbb3
commit
595cf1a1aa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user