diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-10 11:35:35 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-26 12:21:18 -0400 |
commit | 71ccfb3f14fdff783ff0f1a06ac37e4597f65bed (patch) | |
tree | 9ee08e73fc51f86950121273fa1b3d73fbbf1f65 /libavcodec/aacdec.c | |
parent | f1901180e02a766edbc74b8fb8cfbb88b79ef347 (diff) | |
download | ffmpeg-71ccfb3f14fdff783ff0f1a06ac37e4597f65bed.tar.gz |
aac_latm: remove unneeded check for zero-size packet.
This is already checked by avcodec_decode_audio3()
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r-- | libavcodec/aacdec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 37ccd18ecb..ca69e77e29 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -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 |