lavf: make av_set_pts_info private.

It's supposed to be called only from (de)muxers.
This commit is contained in:
Anton Khirnov
2011-11-29 19:28:15 +01:00
parent 06d7325ab1
commit c3f9ebf743
139 changed files with 338 additions and 205 deletions

View File

@@ -23,6 +23,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "internal.h"
#include "riff.h"
#include "rm.h"
@@ -301,7 +302,7 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
int64_t codec_pos;
int ret;
av_set_pts_info(st, 64, 1, 1000);
avpriv_set_pts_info(st, 64, 1, 1000);
codec_pos = avio_tell(pb);
v = avio_rb32(pb);
if (v == MKTAG(0xfd, 'a', 'r', '.')) {