From 3900d53fb1b9ce8f13b63a4a4fa8a07829f4c369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 11 Jan 2013 14:47:10 +0200 Subject: rtsp: Remove references to weirdly named variables in other files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One of them is renamed now, but mentioning it by name serves no purpose here. The other table mentioned ceased to exist under that name in 4934884a1 in 2006. Signed-off-by: Martin Storsjö --- libavformat/rtsp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavformat/rtsp.c') diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 88e0cbf..ec343d6 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -200,8 +200,7 @@ static int sdp_parse_rtpmap(AVFormatContext *s, AVCodec *c; const char *c_name; - /* Loop into AVRtpDynamicPayloadTypes[] and AVRtpPayloadTypes[] and - * see if we can handle this kind of payload. + /* See if we can handle this kind of payload. * The space should normally not be there but some Real streams or * particular servers ("RealServer Version 6.1.3.970", see issue 1658) * have a trailing space. */ @@ -209,7 +208,6 @@ static int sdp_parse_rtpmap(AVFormatContext *s, if (payload_type < RTP_PT_PRIVATE) { /* We are in a standard case * (from http://www.iana.org/assignments/rtp-parameters). */ - /* search into AVRtpPayloadTypes[] */ codec->codec_id = ff_rtp_codec_id(buf, codec->codec_type); } -- cgit v1.1 From 54cb096ee4558b3bfc28c2fcd6418ce82dc39fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 11 Jan 2013 14:53:58 +0200 Subject: rtsp: Remove an outdated comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is unclear what the bug exactly was and if it ever was fixed, and we don't even support decoding via faad any longer. The comment has been present since d0deedcb in 2006. Signed-off-by: Martin Storsjö --- libavformat/rtsp.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavformat/rtsp.c') diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index ec343d6..05058d0 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -243,10 +243,6 @@ static int sdp_parse_rtpmap(AVFormatContext *s, i = atoi(buf); if (i > 0) codec->channels = i; - // TODO: there is a bug here; if it is a mono stream, and - // less than 22000Hz, faad upconverts to stereo and twice - // the frequency. No problem, but the sample rate is being - // set here by the sdp line. Patch on its way. (rdm) } av_log(s, AV_LOG_DEBUG, "audio samplerate set to: %i\n", codec->sample_rate); -- cgit v1.1