OSDN Git Service

Remove dead initialization.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 2 Apr 2010 14:55:01 +0000 (14:55 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 2 Apr 2010 14:55:01 +0000 (14:55 +0000)
Originally committed as revision 22780 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rdt.c

index 268d5de..5dfa861 100644 (file)
@@ -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) {