Commit 71ccfb3f authored by Justin Ruggles's avatar Justin Ruggles

aac_latm: remove unneeded check for zero-size packet.

This is already checked by avcodec_decode_audio3()
parent f1901180
......@@ -2487,9 +2487,6 @@ static int latm_decode_frame(AVCodecContext *avctx, void *out, int *out_size,
int muxlength, err;
GetBitContext gb;
if (avpkt->size == 0)
return 0;
init_get_bits(&gb, avpkt->data, avpkt->size * 8);
// check for LOAS sync word
......
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