forked from FFmpeg/FFmpeg
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
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue