aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2003-07-03 17:02:03 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2003-07-03 17:02:03 +0000
commite103117177a23b95a37bbac5720dedf3b0312622 (patch)
treeb8c0e387f68dae729486dbd9798a8daa1ceb5a91 /ffmpeg.c
parentd9ced4ca4ba4e242372ff67705072f0834aefea1 (diff)
downloadffmpeg-e103117177a23b95a37bbac5720dedf3b0312622.tar.gz
10l found by Curi Fabio Eduardo (SFL) <curif@TELEFONICA.COM.AR>
Originally committed as revision 2002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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;i<ic->nb_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;
}