diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-12-03 03:45:46 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-12-03 06:24:32 +0400 |
commit | 215b7724e7ef332eab5aff8d1ab6b77a11f47c4f (patch) | |
tree | 3ffc80ccf075fd5972f6c2312a313c6bceea39bf /libavformat/libmodplug.c | |
parent | eac5987c4f662ab272f6788b5edc233a9525f844 (diff) |
lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().
Diffstat (limited to 'libavformat/libmodplug.c')
-rw-r--r-- | libavformat/libmodplug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/libmodplug.c b/libavformat/libmodplug.c index ec9acd6c92..dfbf67c2d2 100644 --- a/libavformat/libmodplug.c +++ b/libavformat/libmodplug.c @@ -27,6 +27,7 @@ #include "libavutil/eval.h" #include "libavutil/opt.h" #include "avformat.h" +#include "internal.h" typedef struct ModPlugContext { const AVClass *class; @@ -220,7 +221,7 @@ static int modplug_read_header(AVFormatContext *s, AVFormatParameters *ap) st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); - av_set_pts_info(st, 64, 1, 1000); + avpriv_set_pts_info(st, 64, 1, 1000); st->duration = ModPlug_GetLength(modplug->f); st->codec->codec_type = AVMEDIA_TYPE_AUDIO; st->codec->codec_id = CODEC_ID_PCM_S16LE; @@ -234,7 +235,7 @@ static int modplug_read_header(AVFormatContext *s, AVFormatParameters *ap) AVStream *vst = avformat_new_stream(s, NULL); if (!vst) return AVERROR(ENOMEM); - av_set_pts_info(vst, 64, 1, 1000); + avpriv_set_pts_info(vst, 64, 1, 1000); vst->duration = st->duration; vst->codec->codec_type = AVMEDIA_TYPE_VIDEO; vst->codec->codec_id = CODEC_ID_XBIN; |