From e103117177a23b95a37bbac5720dedf3b0312622 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 3 Jul 2003 17:02:03 +0000 Subject: [PATCH] 10l found by Curi Fabio Eduardo (SFL) Originally committed as revision 2002 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 3812f32109..820f159c62 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -321,7 +321,7 @@ static int read_ffserver_streams(AVFormatContext *s, const char *filename) for(i=0;inb_streams;i++) { AVStream *st; - st = av_mallocz(sizeof(AVFormatContext)); + st = av_mallocz(sizeof(AVStream)); memcpy(st, ic->streams[i], sizeof(AVStream)); s->streams[i] = st; }