diff options
Diffstat (limited to 'libavformat/thp.c')
-rw-r--r-- | libavformat/thp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/thp.c b/libavformat/thp.c index 17054df78c..e2aba3bc32 100644 --- a/libavformat/thp.c +++ b/libavformat/thp.c @@ -94,7 +94,7 @@ static int thp_read_header(AVFormatContext *s, break; /* Video component. */ - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); @@ -117,7 +117,7 @@ static int thp_read_header(AVFormatContext *s, break; /* Audio component. */ - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); |