diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-29 22:28:15 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-30 23:34:45 +0400 |
commit | c3f9ebf74371b63fba0e7491e61904bbd165cd0f (patch) | |
tree | cad6d000dccf25ecea1db16f1befb17f79d13c33 /libavformat/mmf.c | |
parent | 06d7325ab1fcc009f0183be3a0b0504f6d99edfb (diff) |
lavf: make av_set_pts_info private.
It's supposed to be called only from (de)muxers.
Diffstat (limited to 'libavformat/mmf.c')
-rw-r--r-- | libavformat/mmf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c index 4028a61545..8e4f2de767 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" +#include "internal.h" #include "avio_internal.h" #include "pcm.h" #include "riff.h" @@ -100,7 +101,7 @@ static int mmf_write_header(AVFormatContext *s) mmf->awapos = ff_start_tag(pb, "Awa\x01"); - av_set_pts_info(s->streams[0], 64, 1, s->streams[0]->codec->sample_rate); + avpriv_set_pts_info(s->streams[0], 64, 1, s->streams[0]->codec->sample_rate); avio_flush(pb); @@ -252,7 +253,7 @@ static int mmf_read_header(AVFormatContext *s, st->codec->bits_per_coded_sample = 4; st->codec->bit_rate = st->codec->sample_rate * st->codec->bits_per_coded_sample; - av_set_pts_info(st, 64, 1, st->codec->sample_rate); + avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate); return 0; } |