aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-01-11 14:53:58 +0200
committerMartin Storsjö <martin@martin.st>2013-01-12 00:02:11 +0200
commit54cb096ee4558b3bfc28c2fcd6418ce82dc39fe1 (patch)
tree5596104d58af00b4defb0d3a9dcd2843bb9f0b88 /libavformat/rtsp.c
parent3900d53fb1b9ce8f13b63a4a4fa8a07829f4c369 (diff)
downloadffmpeg-54cb096ee4558b3bfc28c2fcd6418ce82dc39fe1.tar.gz
rtsp: Remove an outdated comment
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ö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index ec343d6070..05058d014a 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);