提交 ddffcb2d 编写于 作者: L Luca Abeni

AAC packetiser cleanup: remove check for a condition that cannot happen

Originally committed as revision 18401 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 d2ce53b7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册