mirror of https://git.ffmpeg.org/ffmpeg.git
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++) {
|
for(i=0;i<ic->nb_streams;i++) {
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
|
|
||||||
st = av_mallocz(sizeof(AVFormatContext));
|
st = av_mallocz(sizeof(AVStream));
|
||||||
memcpy(st, ic->streams[i], sizeof(AVStream));
|
memcpy(st, ic->streams[i], sizeof(AVStream));
|
||||||
s->streams[i] = st;
|
s->streams[i] = st;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue