Mercurial > libavformat.hg
changeset 777:b071a272ec7e libavformat
trivial pre-C99 fix for rtp.c by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
author | michael |
---|---|
date | Mon, 30 May 2005 16:42:36 +0000 |
parents | 47c7fa7c2e7c |
children | 4fbe04f998bf |
files | rtp.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rtp.c Sun May 29 11:44:21 2005 +0000 +++ b/rtp.c Mon May 30 16:42:36 2005 +0000 @@ -482,6 +482,7 @@ case CODEC_ID_MPEG4AAC: if (rtp_parse_mp4_au(s, buf)) return -1; + { rtp_payload_data_t *infos = s->rtp_payload_data; if (infos == NULL) return -1; @@ -494,6 +495,7 @@ memcpy(pkt->data, buf, infos->au_headers[0].size); buf += infos->au_headers[0].size; len -= infos->au_headers[0].size; + } s->read_buf_size = len; s->buf_ptr = (char *)buf; pkt->stream_index = s->st->index;