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

@@ -22,6 +22,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat_readwrite.h"
#include "avformat.h"
#include "internal.h"
#include "ffm.h"
#if CONFIG_AVSERVER
#include <unistd.h>
@@ -294,7 +295,7 @@ static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (!st)
goto fail;
av_set_pts_info(st, 64, 1, 1000000);
avpriv_set_pts_info(st, 64, 1, 1000000);
codec = st->codec;
/* generic info */