mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
10l found by Curi Fabio Eduardo (SFL) <curif@TELEFONICA.COM.AR>
Originally committed as revision 2002 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d9ced4ca4b
commit
e103117177
2
ffmpeg.c
2
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user