diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-29 19:28:15 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-30 20:34:45 +0100 |
commit | c3f9ebf74371b63fba0e7491e61904bbd165cd0f (patch) | |
tree | cad6d000dccf25ecea1db16f1befb17f79d13c33 /libavformat/xmv.c | |
parent | 06d7325ab1fcc009f0183be3a0b0504f6d99edfb (diff) | |
download | ffmpeg-c3f9ebf74371b63fba0e7491e61904bbd165cd0f.tar.gz |
lavf: make av_set_pts_info private.
It's supposed to be called only from (de)muxers.
Diffstat (limited to 'libavformat/xmv.c')
-rw-r--r-- | libavformat/xmv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c index 30e3b5ade9..bc4b23917a 100644 --- a/libavformat/xmv.c +++ b/libavformat/xmv.c @@ -30,6 +30,7 @@ #include "libavutil/intreadwrite.h" #include "avformat.h" +#include "internal.h" #include "riff.h" #define XMV_MIN_HEADER_SIZE 36 @@ -154,7 +155,7 @@ static int xmv_read_header(AVFormatContext *s, if (!vst) return AVERROR(ENOMEM); - av_set_pts_info(vst, 32, 1, 1000); + avpriv_set_pts_info(vst, 32, 1, 1000); vst->codec->codec_type = AVMEDIA_TYPE_VIDEO; vst->codec->codec_id = CODEC_ID_WMV2; @@ -224,7 +225,7 @@ static int xmv_read_header(AVFormatContext *s, ast->codec->bit_rate = track->bit_rate; ast->codec->block_align = 36 * track->channels; - av_set_pts_info(ast, 32, track->block_samples, track->sample_rate); + avpriv_set_pts_info(ast, 32, track->block_samples, track->sample_rate); packet->stream_index = ast->index; |