[FFmpeg-cvslog] rtsp: Remove references to weirdly named variables in other files

Martin Storsjö git at videolan.org
Sat Jan 12 13:18:39 CET 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jan 11 14:47:10 2013 +0200| [3900d53fb1b9ce8f13b63a4a4fa8a07829f4c369] | committer: Martin Storsjö

rtsp: Remove references to weirdly named variables in other files

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ö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3900d53fb1b9ce8f13b63a4a4fa8a07829f4c369
---

 libavformat/rtsp.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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);
     }
 



More information about the ffmpeg-cvslog mailing list