X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fxwma.c;h=a4e53fa2d212f27b553f4bdddd1b31b0daa7bc4f;hb=b5a69e79c579e6e15e2019ffd34ef0e09aeab586;hp=94208abc475087b003bef55f70569a23b9af9915;hpb=b429440d857e01250666ed1a68c86c77e575b9ee;p=ffmpeg diff --git a/libavformat/xwma.c b/libavformat/xwma.c index 94208abc475..a4e53fa2d21 100644 --- a/libavformat/xwma.c +++ b/libavformat/xwma.c @@ -22,6 +22,7 @@ #include #include "avformat.h" +#include "internal.h" #include "riff.h" /* @@ -115,7 +116,7 @@ static int xwma_read_header(AVFormatContext *s, AVFormatParameters *ap) } /* set the sample rate */ - av_set_pts_info(st, 64, 1, st->codec->sample_rate); + avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate); /* parse the remaining RIFF chunks */ for (;;) {