[FFmpeg-cvslog] rtpdec: Remove a useless todo comment

Martin Storsjö git at videolan.org
Sat Jan 12 13:38:20 CET 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jan 11 15:07:51 2013 +0200| [f6804c3e1ba5530e2af1e1f8222203b37f0e0d84] | committer: Martin Storsjö

rtpdec: Remove a useless todo comment

The question can be answered: No, we do not know the initial sequence
number from the SDP. In certain cases, it can be known from the
RTP-Info response header in RTSP though. (In that case, we use it as
timestamp origin, but not for rtp receiver statistics.)

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavformat/rtpdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 9734ecf..9cc53e2 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -482,7 +482,7 @@ RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st,
     s->ic                  = s1;
     s->st                  = st;
     s->queue_size          = queue_size;
-    rtp_init_statistics(&s->statistics, 0); // do we know the initial sequence from sdp?
+    rtp_init_statistics(&s->statistics, 0);
     if (!strcmp(ff_rtp_enc_name(payload_type), "MP2T")) {
         s->ts = ff_mpegts_parse_open(s->ic);
         if (s->ts == NULL) {



More information about the ffmpeg-cvslog mailing list