From ed54ae08b8f0672262669dc7d0544779203e1838 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Fri, 10 Apr 2009 12:49:53 +0000 Subject: [PATCH] remove useless duplication of what av_new_stream() already does Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/ffmdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index 535b01a..dc4da29 100644 --- a/libavformat/ffmdec.c +++ b/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); -- 2.7.4