]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/txd.c
Merge remote-tracking branch 'tjoppen/proper_mxf_track_linking'
[ffmpeg] / libavformat / txd.c
index 692821679183e9736f61dd988c339855c4fd5dab..06aca8c3f4ec700be6e3eb39176be84c6dc3bd1d 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;
@@ -48,6 +48,7 @@ static int txd_read_header(AVFormatContext *s, AVFormatParameters *ap) {
     st->codec->time_base.den = 5;
     st->codec->time_base.num = 1;
     /* the parameters will be extracted from the compressed bitstream */
+
     return 0;
 }