Browse Source

aac_latm: remove unneeded check for zero-size packet.

This is already checked by avcodec_decode_audio3()
tags/n0.9
Justin Ruggles 13 years ago
parent
commit
71ccfb3f14
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/aacdec.c

+ 0
- 3
libavcodec/aacdec.c View File

@@ -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


Loading…
Cancel
Save