X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Feacdata.c;h=2311f0bcd17dcad669155b2f5aa1e33e34201539;hb=e1a8164d62fb8d1943b3f7a66500f0315ca8fe76;hp=adf48c6a19b429b92d3f2500d69f00e0ccacd626;hpb=51bfaa21c85201ab31776a447599349a1ed6e96b;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;