]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rdt.c
rtpdec_svq3: Return the timestamp in *timestamp instead of pkt->pts
[ffmpeg] / libavformat / rdt.c
index 268d5dedac5bd587c4b9d644276e91e7c6182f11..284665ee1f034b02cbe9e1009ca87af46b01c874 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file libavformat/rdt.c
+ * @file
  * @brief Realmedia RTSP protocol (RDT) support
  * @author Ronald S. Bultje <rbultje@ronald.bitfreak.net>
  */
@@ -140,14 +140,14 @@ rdt_load_mdpr (PayloadContext *rdt, AVStream *st, int rule_nr)
 
     /**
      * Layout of the MLTI chunk:
-     * 4:MLTI
-     * 2:<number of streams>
+     * 4: MLTI
+     * 2: number of streams
      * Then for each stream ([number_of_streams] times):
-     *     2:<mdpr index>
-     * 2:<number of mdpr chunks>
+     *     2: mdpr index
+     * 2: number of mdpr chunks
      * Then for each mdpr chunk ([number_of_mdpr_chunks] times):
-     *     4:<size>
-     *     [size]:<data>
+     *     4: size
+     *     [size]: data
      * we skip MDPR chunks until we reach the one of the stream
      * we're interested in, and forward that ([size]+[data]) to
      * the RM demuxer to parse the stream-specific header data.
@@ -417,7 +417,7 @@ rdt_parse_sdp_line (AVFormatContext *s, int st_index,
     } else if (av_strstart(p, "StartTime:integer;", &p))
         stream->first_dts = atoi(p);
     else if (av_strstart(p, "ASMRuleBook:string;", &p)) {
-        int n = st_index, first = -1;
+        int n, first = -1;
 
         for (n = 0; n < s->nb_streams; n++)
             if (s->streams[n]->priv_data == stream->priv_data) {