OSDN Git Service

remove useless assignment (st is never read after this line)
authorAurelien Jacobs <aurel@gnuage.org>
Tue, 26 Aug 2008 20:38:04 +0000 (20:38 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Tue, 26 Aug 2008 20:38:04 +0000 (20:38 +0000)
Originally committed as revision 14985 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index 1cc8bac..a3a0a06 100644 (file)
@@ -1557,7 +1557,6 @@ int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int f
        /* timestamp for default must be expressed in AV_TIME_BASE units */
         timestamp = av_rescale(timestamp, st->time_base.den, AV_TIME_BASE * (int64_t)st->time_base.num);
     }
-    st= s->streams[stream_index];
 
     /* first, we try the format specific seek */
     if (s->iformat->read_seek)