From 591b88e6787c4e678237f02a50421d101abd25c2 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 5 Jun 2021 11:12:03 -0300 Subject: 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 --- libavformat/wavdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/wavdec.c') diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 6bce9ba688..d2fb81ca7f 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -702,8 +702,8 @@ static int wav_read_packet(AVFormatContext *s, AVPacket *pkt) int64_t audio_dts, video_dts; AVStream *vst = wav->vst; smv_retry: - audio_dts = (int32_t)st->cur_dts; - video_dts = (int32_t)vst->cur_dts; + audio_dts = (int32_t)st->internal->cur_dts; + video_dts = (int32_t)vst->internal->cur_dts; if (audio_dts != AV_NOPTS_VALUE && video_dts != AV_NOPTS_VALUE) { /*We always return a video frame first to get the pixel format first*/ -- cgit v1.2.3