From ddffcb2d3a81e203cff6f3e39e40bf5720f7391e Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Thu, 9 Apr 2009 21:39:07 +0000 Subject: [PATCH] AAC packetiser cleanup: remove check for a condition that cannot happen Originally committed as revision 18401 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtp_aac.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavformat/rtp_aac.c b/libavformat/rtp_aac.c index 1a9265b..bdf5f5d 100644 --- a/libavformat/rtp_aac.c +++ b/libavformat/rtp_aac.c @@ -66,10 +66,6 @@ void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size) memcpy(s->buf_ptr, buff, size); s->buf_ptr += size; } else { - if (s->buf_ptr != s->buf + MAX_AU_HEADERS_SIZE) { - av_log(s1, AV_LOG_ERROR, "Strange...\n"); - av_abort(); - } max_packet_size = s->max_payload_size - 4; p = s->buf; p[0] = 0; -- 2.7.4