You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
aac_latm: remove unneeded check for zero-size packet.
This is already checked by avcodec_decode_audio3()
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user