]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/txd.c
seek-test: use standard format specifiers in snprintf()
[ffmpeg] / libavformat / txd.c
index 692821679183e9736f61dd988c339855c4fd5dab..5d9f969270e10d83d76d4f3f16c0b48fa7fed76b 100644 (file)
@@ -40,7 +40,7 @@ static int txd_probe(AVProbeData * pd) {
 static int txd_read_header(AVFormatContext *s, AVFormatParameters *ap) {
     AVStream *st;
 
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;