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/pmpdec.c | |
parent | eac5987c4f662ab272f6788b5edc233a9525f844 (diff) |
lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().
Diffstat (limited to 'libavformat/pmpdec.c')
-rw-r--r-- | libavformat/pmpdec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/pmpdec.c b/libavformat/pmpdec.c index 3d54484314..a57b66072e 100644 --- a/libavformat/pmpdec.c +++ b/libavformat/pmpdec.c @@ -21,6 +21,7 @@ #include "libavutil/intreadwrite.h" #include "avformat.h" +#include "internal.h" typedef struct { int cur_stream; @@ -70,7 +71,7 @@ static int pmp_header(AVFormatContext *s, AVFormatParameters *ap) tb_num = avio_rl32(pb); tb_den = avio_rl32(pb); - av_set_pts_info(vst, 32, tb_num, tb_den); + avpriv_set_pts_info(vst, 32, tb_num, tb_den); vst->nb_frames = index_cnt; vst->duration = index_cnt; @@ -98,7 +99,7 @@ static int pmp_header(AVFormatContext *s, AVFormatParameters *ap) ast->codec->codec_id = audio_codec_id; ast->codec->channels = channels; ast->codec->sample_rate = srate; - av_set_pts_info(ast, 32, 1, srate); + avpriv_set_pts_info(ast, 32, 1, srate); } pos = avio_tell(pb) + 4*index_cnt; for (i = 0; i < index_cnt; i++) { |