]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/iff.c
ffmpeg: preserve avg_frame_rate on stream copy.
[ffmpeg] / libavformat / iff.c
index ebc4798feb0e33984f51c5b73350634b56f9ac2f..2283ed505acc2877e09c2457041dfe64f1d7ba6a 100644 (file)
@@ -135,7 +135,7 @@ static int iff_read_header(AVFormatContext *s,
     unsigned transparency = 0;
     unsigned masking = 0; // no mask
 
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);