]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ncdec.c
mp3probe: Detect mp3 stronger with just 200 frames, this should speed up detection
[ffmpeg] / libavformat / ncdec.c
index e04a6aae31e1849742f51ba5799d08b7a7032288..3430035f3ffc7444435879ae4af64200b43efcf1 100644 (file)
@@ -45,7 +45,7 @@ static int nc_probe(AVProbeData *probe_packet)
 
 static int nc_read_header(AVFormatContext *s, AVFormatParameters *ap)
 {
-    AVStream *st = av_new_stream(s, 0);
+    AVStream *st = avformat_new_stream(s, NULL);
 
     if (!st)
         return AVERROR(ENOMEM);