summaryrefslogtreecommitdiff
path: root/libavformat/rdt.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/rdt.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/rdt.h')
-rw-r--r--libavformat/rdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rdt.h b/libavformat/rdt.h
index 8117989d24..19a4a7bc1f 100644
--- a/libavformat/rdt.h
+++ b/libavformat/rdt.h
@@ -96,7 +96,7 @@ int ff_rdt_parse_header(const uint8_t *buf, int len,
* Usage similar to rtp_parse_packet().
*/
int ff_rdt_parse_packet(RDTDemuxContext *s, AVPacket *pkt,
- const uint8_t *buf, int len);
+ uint8_t **buf, int len);
/**
* Parse a server-related SDP line.