mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
Merge commit '44dc138ed29c4dfbaf57ebc774da4c75ef113ca4'
* commit '44dc138ed29c4dfbaf57ebc774da4c75ef113ca4':
rtpdec_mpeg4: reassemble fragmented AAC frames
Conflicts:
libavformat/rtpdec_mpeg4.c
See: fee2cc39be
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
20f5a17956
@ -218,9 +218,9 @@ static int aac_parse_packet(AVFormatContext *ctx, PayloadContext *data,
|
||||
data->timestamp = *timestamp;
|
||||
}
|
||||
|
||||
if (data->timestamp != *timestamp
|
||||
|| data->au_headers[0].size != data->buf_size
|
||||
|| data->buf_pos + len > MAX_AAC_HBR_FRAME_SIZE) {
|
||||
if (data->timestamp != *timestamp ||
|
||||
data->au_headers[0].size != data->buf_size ||
|
||||
data->buf_pos + len > MAX_AAC_HBR_FRAME_SIZE) {
|
||||
data->buf_pos = 0;
|
||||
data->buf_size = 0;
|
||||
av_log(ctx, AV_LOG_ERROR, "Invalid packet received\n");
|
||||
|
Loading…
Reference in New Issue
Block a user