remove useless duplication of what av_new_stream() already does
authorAurelien Jacobs <aurel@gnuage.org>
Fri, 10 Apr 2009 12:49:53 +0000 (12:49 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Fri, 10 Apr 2009 12:49:53 +0000 (12:49 +0000)
Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/ffmdec.c

index 535b01a..dc4da29 100644 (file)
@@ -287,7 +287,6 @@ static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap)
         st = av_new_stream(s, 0);
         if (!st)
             goto fail;
         st = av_new_stream(s, 0);
         if (!st)
             goto fail;
-        s->streams[i] = st;
 
         av_set_pts_info(st, 64, 1, 1000000);
 
 
         av_set_pts_info(st, 64, 1, 1000000);