]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/soxdec.c
mpegtsenc: EAC3 support
[ffmpeg] / libavformat / soxdec.c
index af8cfef1baf30759feb233192abe9a441800b7f0..dac4bedfb3318e9cedd94a81f786de8c85bf3f39 100644 (file)
@@ -51,7 +51,7 @@ static int sox_read_header(AVFormatContext *s,
     double sample_rate, sample_rate_frac;
     AVStream *st;
 
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);