X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Feacdata.c;h=2311f0bcd17dcad669155b2f5aa1e33e34201539;hb=9cb6a39c461abc8d3dd79dc5a59243038664fb65;hp=adf48c6a19b429b92d3f2500d69f00e0ccacd626;hpb=dbb38bc389e1af5ed465ed370887d6af4da0cb40;p=ffmpeg diff --git a/libavformat/eacdata.c b/libavformat/eacdata.c index adf48c6a19b..2311f0bcd17 100644 --- a/libavformat/eacdata.c +++ b/libavformat/eacdata.c @@ -29,6 +29,7 @@ */ #include "avformat.h" +#include "internal.h" typedef struct { unsigned int channels; @@ -76,7 +77,7 @@ static int cdata_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->channel_layout = channel_layout; st->codec->sample_rate = sample_rate; st->codec->sample_fmt = AV_SAMPLE_FMT_S16; - av_set_pts_info(st, 64, 1, sample_rate); + avpriv_set_pts_info(st, 64, 1, sample_rate); cdata->audio_pts = 0; return 0;