Originally committed as revision 22805 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Martin Storsjö 2010-04-05 17:26:06 +00:00
parent 0e4b185a8d
commit 0950e1703b
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ static int rtp_parse_mp4_au(RTPDemuxContext *s, const uint8_t *buf)
infos->nb_au_headers = au_headers_length / au_header_size;
if (!infos->au_headers || infos->au_headers_allocated < infos->nb_au_headers) {
av_free(infos->au_headers);
infos->au_headers = av_malloc(sizeof(struct AUHeaders) * infos->nb_au_headers);
infos->au_headers = av_malloc(sizeof(struct AUHeaders) * infos->nb_au_headers);
infos->au_headers_allocated = infos->nb_au_headers;
}