Commit 30f3e7b5 authored by Justin Ruggles's avatar Justin Ruggles

alacdec: remove unneeded NULL or zero-size packet checks.

This is already done in avcodec_decode_audio3()
parent 68f7e9cd
......@@ -368,10 +368,6 @@ static int alac_decode_frame(AVCodecContext *avctx,
uint8_t interlacing_leftweight;
int i, ch;
/* short-circuit null buffers */
if (!inbuffer || !input_buffer_size)
return -1;
init_get_bits(&alac->gb, inbuffer, input_buffer_size * 8);
channels = get_bits(&alac->gb, 3) + 1;
......
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