diff options
author | James Almer <jamrial@gmail.com> | 2021-06-05 11:12:03 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-06-09 13:55:25 -0300 |
commit | 591b88e6787c4e678237f02a50421d101abd25c2 (patch) | |
tree | 129253009d5179d64b706069237bc3f8659e3eea /libavformat/vqf.c | |
parent | 39affa5f8e70fb364d197242a8c11703d593f012 (diff) |
avformat: move AVStream.{first,cur}_dts to AVStreamInternal
They are private fields, no reason to have them exposed in a public header.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/vqf.c')
-rw-r--r-- | libavformat/vqf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vqf.c b/libavformat/vqf.c index 431ba1a0c9..08dba858b4 100644 --- a/libavformat/vqf.c +++ b/libavformat/vqf.c @@ -277,7 +277,7 @@ static int vqf_read_seek(AVFormatContext *s, AV_ROUND_DOWN : AV_ROUND_UP); pos *= c->frame_bit_len; - st->cur_dts = av_rescale(pos, st->time_base.den, + st->internal->cur_dts = av_rescale(pos, st->time_base.den, st->codecpar->bit_rate * (int64_t)st->time_base.num); if ((ret = avio_seek(s->pb, ((pos-7) >> 3) + s->internal->data_offset, SEEK_SET)) < 0) |