summaryrefslogtreecommitdiff
path: root/libavformat/ffmdec.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-04-10 12:49:53 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-04-10 12:49:53 +0000
commited54ae08b8f0672262669dc7d0544779203e1838 (patch)
tree36efbd8377476ae11cd1cd5c6873c5ab9d54f494 /libavformat/ffmdec.c
parent0dccbba02c9c8ae4391876c4a015c08bfb1e5697 (diff)
remove useless duplication of what av_new_stream() already does
Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ffmdec.c')
-rw-r--r--libavformat/ffmdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 535b01a0e1..dc4da29f09 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);