diff options
Diffstat (limited to 'libavformat/txd.c')
-rw-r--r-- | libavformat/txd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/txd.c b/libavformat/txd.c index 6928216791..5d9f969270 100644 --- a/libavformat/txd.c +++ b/libavformat/txd.c @@ -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; |