]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/dfa.c
avio: allow any chars in protocols
[ffmpeg] / libavformat / dfa.c
index 12ede0426de776adea2f3d8cc2482ab77c2d87ab..a109a2d2b775befaa35a2deef54ce5c1cb90a7ce 100644 (file)
@@ -45,7 +45,7 @@ static int dfa_read_header(AVFormatContext *s,
     avio_skip(pb, 2); // unused
     frames = avio_rl16(pb);
 
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);