OSDN Git Service

Add "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argument
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 6 Feb 2009 01:37:19 +0000 (01:37 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 6 Feb 2009 01:37:19 +0000 (01:37 +0000)
commit1a45a9f4c06bbbaa322ba744e658491df44f2c2a
tree0cdf7e0dd1c3842c2b373821d664844f24a55303
parent4606a05979f48aea4cef5125cb885405c9903eee
Add "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argument
to the parse_packet() function pointer in RTPDynamicProtocolHandlers. This
allows these functions to peek back and retrieve values from the demuxer's
context (or RTSPState). The ASF/RTP payload parser will use this to be able
to parse SDP values (which occur even before the payload ID is given), store
them in the RTSPState and then retrieve them while parsing payload data. See
"[PATCH] RTSP-MS 13/15: add RTSP demuxer AVFormatContext to parse_packet()
function pointer (was: transport context)" mailinglist thread.

Originally committed as revision 17015 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rdt.c
libavformat/rtp.h
libavformat/rtp_h264.c
libavformat/rtpdec.c