diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-10-04 04:16:44 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-10-04 04:16:44 +0000 |
commit | 99a1d1915e66e4539971a42d3f7e85da5e027021 (patch) | |
tree | 8d9c4ff98c92135b8ea8bc24604e1e05bc9030c2 /libavformat/rtsp.c | |
parent | 9b932b8ac0c63cf52642dbe4e3953a312e6cf900 (diff) | |
download | ffmpeg-99a1d1915e66e4539971a42d3f7e85da5e027021.tar.gz |
Remove access into RTPDemuxContext in rtsp.c, which allows making it opaque
(and thus preparing for the introduction of RDTDemuxContext) in a next patch.
See discussion in "RDT/Realmedia patches #2" thread on ML.
Originally committed as revision 15542 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index f6d985968c..283d6af6a7 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -900,8 +900,9 @@ rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st) return AVERROR(ENOMEM); } else { if(rtsp_st->dynamic_handler) { - rtsp_st->rtp_ctx->dynamic_protocol_context= rtsp_st->dynamic_protocol_context; - rtsp_st->rtp_ctx->parse_packet= rtsp_st->dynamic_handler->parse_packet; + rtp_parse_set_dynamic_protocol(rtsp_st->rtp_ctx, + rtsp_st->dynamic_protocol_context, + rtsp_st->dynamic_handler); } } |