From ad4ad27fb6d352a874d97d42ba95ae0b5cbfa860 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 1 Oct 2010 17:43:27 +0000 Subject: 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 --- libavformat/rtpdec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtpdec.h') 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); -- cgit v1.2.3