Remove nonsensical assignment from asf_read_seek() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:13:01 +0000 (15:13 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:13:01 +0000 (15:13 +0000)
Originally committed as revision 18565 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/asfdec.c

index cc1ce97..805087f 100644 (file)
@@ -1045,7 +1045,6 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int
 
         /* find the position */
         pos = st->index_entries[index].pos;
-        pts = st->index_entries[index].timestamp;
 
     // various attempts to find key frame have failed so far
     //    asf_reset_header(s);