OSDN Git Service

Change function prototype of the sdp_parse_a_line in DynamicProtocolHandler.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 6 Dec 2008 18:41:17 +0000 (18:41 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 6 Dec 2008 18:41:17 +0000 (18:41 +0000)
commit7b2a0708009c37c6bed20b9435b935aaaec7c6a1
tree31b37e6a3d0d6f7270cb1c7ac0499a16e8b436d6
parent022f0b7c0160c69983262773121439affd7d8219
Change function prototype of the sdp_parse_a_line in DynamicProtocolHandler.
This function is called in rtsp.c for each a= line in the SDP of the Describe
response after m= RTSP stream descriptors. The function prototype used to
take an AVStream argument. For RDT, however, every RTSPStream represents
a set of streams of identical content, and can thus represent multiple
AVStreams. Therefore, it should not take an AVStream as argument. This
patch modifies it to accept a AVFormatContext (of the RTSP/SDP demuxer)
instead. See discussion in "[PATCH/RFC] change function prototype of
parse_sdp_a_line" thread on ML.

Originally committed as revision 16024 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rdt.c
libavformat/rtp_h264.c
libavformat/rtp_internal.h
libavformat/rtsp.c