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/avienc.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/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index b4521cd6ef..2a23c213b6 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" +#include "internal.h" #include "avi.h" #include "avio_internal.h" #include "riff.h" @@ -256,7 +257,7 @@ static int avi_write_header(AVFormatContext *s) avio_wl32(pb, au_scale); /* scale */ avio_wl32(pb, au_byterate); /* rate */ - av_set_pts_info(s->streams[i], 64, au_scale, au_byterate); + avpriv_set_pts_info(s->streams[i], 64, au_scale, au_byterate); avio_wl32(pb, 0); /* start */ avist->frames_hdr_strm = avio_tell(pb); /* remember this offset to fill later */ |