Originally committed as revision 22805 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Martin Storsjö 15 years ago
parent 0e4b185a8d
commit 0950e1703b
  1. 2
      libavformat/rtpdec.c

@ -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;
}

Loading…
Cancel
Save