]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/g723_1.c
Replace remaining av_new_stream() with avformat_new_stream().
[ffmpeg] / libavformat / g723_1.c
index 19441a1b19da87893587f851ed43e582c9ef7018..5bdd76436379daa054f2a174dbe4d0728a143716 100644 (file)
@@ -32,7 +32,7 @@ static int g723_1_init(AVFormatContext *s, AVFormatParameters *ap)
 {
     AVStream *st;
 
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);