mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
lavf: make av_set_pts_info private.
It's supposed to be called only from (de)muxers.
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "avformat.h"
|
||||
#include "internal.h"
|
||||
#include "oggdec.h"
|
||||
|
||||
struct oggcelt_private {
|
||||
@ -71,7 +72,7 @@ static int celt_header(AVFormatContext *s, int idx)
|
||||
st->codec->extradata = extradata;
|
||||
st->codec->extradata_size = 2 * sizeof(uint32_t);
|
||||
if (sample_rate)
|
||||
av_set_pts_info(st, 64, 1, sample_rate);
|
||||
avpriv_set_pts_info(st, 64, 1, sample_rate);
|
||||
priv->extra_headers_left = 1 + extra_headers;
|
||||
os->private = priv;
|
||||
AV_WL32(extradata + 0, overlap);
|
||||
|
Reference in New Issue
Block a user