summaryrefslogtreecommitdiff
path: root/libavformat/pcm.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-06-05 11:12:03 -0300
committerJames Almer <jamrial@gmail.com>2021-06-09 13:55:25 -0300
commit591b88e6787c4e678237f02a50421d101abd25c2 (patch)
tree129253009d5179d64b706069237bc3f8659e3eea /libavformat/pcm.c
parent39affa5f8e70fb364d197242a8c11703d593f012 (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/pcm.c')
-rw-r--r--libavformat/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/pcm.c b/libavformat/pcm.c
index 1effc0b6f8..0e5443a826 100644
--- a/libavformat/pcm.c
+++ b/libavformat/pcm.c
@@ -79,7 +79,7 @@ int ff_pcm_read_seek(AVFormatContext *s,
pos *= block_align;
/* recompute exact position */
- st->cur_dts = av_rescale(pos, st->time_base.den, byte_rate * (int64_t)st->time_base.num);
+ st->internal->cur_dts = av_rescale(pos, st->time_base.den, byte_rate * (int64_t)st->time_base.num);
if ((ret = avio_seek(s->pb, pos + s->internal->data_offset, SEEK_SET)) < 0)
return ret;
return 0;