Browse code

10l found by Curi Fabio Eduardo (SFL) <curif@TELEFONICA.COM.AR>

Originally committed as revision 2002 to svn://svn.ffmpeg.org/ffmpeg/trunk

Alex Beregszaszi authored on 2003/07/04 02:02:03
Showing 1 changed files
... ...
@@ -321,7 +321,7 @@ static int read_ffserver_streams(AVFormatContext *s, const char *filename)
321 321
     for(i=0;i<ic->nb_streams;i++) {
322 322
         AVStream *st;
323 323
 
324
-        st = av_mallocz(sizeof(AVFormatContext));
324
+        st = av_mallocz(sizeof(AVStream));
325 325
         memcpy(st, ic->streams[i], sizeof(AVStream));
326 326
         s->streams[i] = st;
327 327
     }