summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-10-01 17:43:27 +0000
committerMartin Storsjö <martin@martin.st>2010-10-01 17:43:27 +0000
commitad4ad27fb6d352a874d97d42ba95ae0b5cbfa860 (patch)
tree3be53d41d26d0108c40ad39afc9425916139435b /libavformat/rtpdec.h
parent96a7c9753e81ac1f2de12f3249ea7c001d50a3f7 (diff)
rtsp/rtpdec: Allow rtp_parse_packet to take ownership of the packet buffer
Do the same change for ff_rdt_parse_packet, too, to keep the interfaces similar. Originally committed as revision 25289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 8548459d85..df2ec77680 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -39,7 +39,7 @@ RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *r
void rtp_parse_set_dynamic_protocol(RTPDemuxContext *s, PayloadContext *ctx,
RTPDynamicProtocolHandler *handler);
int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
- const uint8_t *buf, int len);
+ uint8_t **buf, int len);
void rtp_parse_close(RTPDemuxContext *s);
#if (LIBAVFORMAT_VERSION_MAJOR <= 53)
int rtp_get_local_port(URLContext *h);