X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favisynth.c;h=13b5f4309c35eb9b9c39491342c0e1335a91f3ac;hb=e37f161e66e042d6c2c7470c4d9881df9427fc4a;hp=b3f4a41a39e4435e78d93ea51b735034f353f6cf;hpb=8e576d58306df95d6373dd0ca2c1f21f1afaeca9;p=ffmpeg diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index b3f4a41a39e..13b5f4309c3 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -20,6 +20,7 @@ */ #include "avformat.h" +#include "internal.h" #include "riff.h" #include @@ -40,7 +41,7 @@ typedef struct { int next_stream; } AVISynthContext; -static int avisynth_read_header(AVFormatContext *s, AVFormatParameters *ap) +static int avisynth_read_header(AVFormatContext *s) { AVISynthContext *avs = s->priv_data; HRESULT res; @@ -145,7 +146,7 @@ static int avisynth_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->stream_codec_tag = stream->info.fccHandler; - av_set_pts_info(st, 64, info.dwScale, info.dwRate); + avpriv_set_pts_info(st, 64, info.dwScale, info.dwRate); st->start_time = stream->info.dwStart; } }