Ver Fonte

remove useless duplication of what av_new_stream() already does

Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs há 16 anos atrás
pai
commit
ed54ae08b8
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      libavformat/ffmdec.c

+ 0 - 1
libavformat/ffmdec.c

@@ -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);