]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/siff.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / siff.c
index d39655f648419836bb63123f58c049348bfe9c7a..77cbc66804c2f0ad88bf967b033000279135d785 100644 (file)
@@ -71,7 +71,7 @@ static int siff_probe(AVProbeData *p)
 static int create_audio_stream(AVFormatContext *s, SIFFContext *c)
 {
     AVStream *ast;
-    ast = av_new_stream(s, 0);
+    ast = avformat_new_stream(s, NULL);
     if (!ast)
         return -1;
     ast->codec->codec_type      = AVMEDIA_TYPE_AUDIO;
@@ -115,7 +115,7 @@ static int siff_parse_vbv1(AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
 
     avio_skip(pb, 16); //zeroes
 
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return -1;
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;