summaryrefslogtreecommitdiff
path: root/libavformat/rdt.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-09-30 13:23:33 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-09-30 13:23:33 +0000
commitab63fb0360f1f5ce5cd7199786940d56c7a10632 (patch)
treebe1d9bdc2fe83f1ddd9dad4386ca7ed857242b3a /libavformat/rdt.h
parenteee2cbff77d957e19c8e7d4407a27a5f42fef5f6 (diff)
Remove access to rdt_data struct in functions called outside of the
DynamicProtocol* context. Doing so could lead to problems if we're accessing Real servers serving non-RDT data (or the other way around). Temporarily, this patch adds a _subscribe2() function which will soon be removed in one of the subsequent commits. OK'ed by Luca in "Realmedia patch" thread on ML. Originally committed as revision 15483 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rdt.h')
-rw-r--r--libavformat/rdt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/rdt.h b/libavformat/rdt.h
index fe2f4f484b..5a13127fb5 100644
--- a/libavformat/rdt.h
+++ b/libavformat/rdt.h
@@ -45,14 +45,16 @@ void av_register_rdt_dynamic_payload_handlers(void);
/**
* Add subscription information to Subscribe parameter string.
*
- * @param s RDT context
* @param cmd string to write the subscription information into.
* @param size size of cmd.
* @param stream_nr stream number.
* @param rule_nr rule number to conform to.
*/
-void ff_rdt_subscribe_rule(RTPDemuxContext *s, char *cmd, int size,
+void ff_rdt_subscribe_rule(char *cmd, int size,
int stream_nr, int rule_nr);
+// FIXME this will be removed ASAP
+void ff_rdt_subscribe_rule2(RTPDemuxContext *s, char *cmd, int size,
+ int stream_nr, int rule_nr);
/**
* Parse RDT-style packet data (header + media data).