projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de312e5
)
trivial pre-C99 fix for rtp.c by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 May 2005 16:42:36 +0000
(16:42 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 May 2005 16:42:36 +0000
(16:42 +0000)
Originally committed as revision 4321 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtp.c
b/libavformat/rtp.c
index
d78a777
..
63236f0
100644
(file)
--- a/
libavformat/rtp.c
+++ b/
libavformat/rtp.c
@@
-482,6
+482,7
@@
int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
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
@@
int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
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;