Remove access to rdt_data struct in functions called outside of the
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 30 Sep 2008 13:23:33 +0000 (13:23 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 30 Sep 2008 13:23:33 +0000 (13:23 +0000)
commitab63fb0360f1f5ce5cd7199786940d56c7a10632
treebe1d9bdc2fe83f1ddd9dad4386ca7ed857242b3a
parenteee2cbff77d957e19c8e7d4407a27a5f42fef5f6
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
libavformat/rdt.c
libavformat/rdt.h
libavformat/rtsp.c