remove useless duplication of what av_new_stream() already does
[ffmpeg.git] / 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;
-        s->streams[i] = st;
 
         av_set_pts_info(st, 64, 1, 1000000);