X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fau.c;h=3dfb3be00421768ac95f860c1b4ae45d9d035b0d;hb=9ba43e50efa2483fb3ca1e3f62a474db7dd3ac8d;hp=af00e6d4ff051e8371251534a3715a3b6fedeef9;hpb=173715d2918a8b2674e2d93e74d36df037ce4409;p=ffmpeg diff --git a/libavformat/au.c b/libavformat/au.c index af00e6d4ff0..3dfb3be0042 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -28,6 +28,7 @@ */ #include "avformat.h" +#include "internal.h" #include "avio_internal.h" #include "pcm.h" #include "riff.h" @@ -35,7 +36,7 @@ /* if we don't know the size in advance */ #define AU_UNKNOWN_SIZE ((uint32_t)(~0)) -/* The ffmpeg codecs we support, and the IDs they have in the file */ +/* The libavcodec codecs we support, and the IDs they have in the file */ static const AVCodecTag codec_au_tags[] = { { CODEC_ID_PCM_MULAW, 1 }, { CODEC_ID_PCM_S8, 2 }, @@ -166,7 +167,7 @@ static int au_read_header(AVFormatContext *s, st->codec->sample_rate = rate; if (data_size != AU_UNKNOWN_SIZE) st->duration = (((int64_t)data_size)<<3) / (st->codec->channels * bps); - av_set_pts_info(st, 64, 1, rate); + avpriv_set_pts_info(st, 64, 1, rate); return 0; }