X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fwv.c;h=33f69d8a1f81dfd6a0a3d43bfc225a240e3e772a;hb=6e9081f4d87b4ebcd3355ebd560307c59d2104c3;hp=72c8df0f2452c1d8a710c260c224e8afd4ab68a8;hpb=13b7781ec8d475513c1ee40a6e481763b728a71e;p=ffmpeg diff --git a/libavformat/wv.c b/libavformat/wv.c index 72c8df0f245..33f69d8a1f8 100644 --- a/libavformat/wv.c +++ b/libavformat/wv.c @@ -23,6 +23,7 @@ #include "libavutil/intreadwrite.h" #include "libavutil/dict.h" #include "avformat.h" +#include "internal.h" #include "apetag.h" #include "id3v1.h" @@ -229,7 +230,7 @@ static int wv_read_header(AVFormatContext *s, st->codec->channel_layout = wc->chmask; st->codec->sample_rate = wc->rate; st->codec->bits_per_coded_sample = wc->bpp; - av_set_pts_info(st, 64, 1, wc->rate); + avpriv_set_pts_info(st, 64, 1, wc->rate); st->start_time = 0; st->duration = wc->samples;