[FFmpeg-cvslog] aac_latm: remove unneeded check for zero-size packet.
Justin Ruggles
git at videolan.org
Thu Oct 27 01:46:45 CEST 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Oct 10 11:35:35 2011 -0400| [71ccfb3f14fdff783ff0f1a06ac37e4597f65bed] | committer: Justin Ruggles
aac_latm: remove unneeded check for zero-size packet.
This is already checked by avcodec_decode_audio3()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=71ccfb3f14fdff783ff0f1a06ac37e4597f65bed
---
libavcodec/aacdec.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 37ccd18..ca69e77 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
More information about the ffmpeg-cvslog
mailing list