[FFmpeg-devel] [PATCH] RTSP-MS 5-6/15: parse only the last m= line stream per rtpmap line

Luca Barbato lu_zero
Tue Jan 6 13:40:05 CET 2009


Ronald S. Bultje wrote:
> Hi,
> 
> as can be seen in [1] (see my recent post in [2]), RTSP-MS SDP
> contains one rtpmap: line per m=, and this rtpmap is generally the
> same. My impression is that this is true for all RTSP streams, and the
> ffmpeg implementation indeed only supports rtpmap lines coming after
> m= lines. However, rtsp.c loops over all streams and reinits each of
> them if the rtpmap code matches that stream code, leading to unneeded
> reinitializations for previous streams. the attached patch fixes that.
> A second patch (6/15) reindents after this patch.

ok

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list