Commit 595cf1a1 authored by Justin Ruggles's avatar Justin Ruggles

truespeech: remove unneeded zero-size packet check.

This is already checked in avcodec_decode_audio3()
parent 82be06bb
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment