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/wavdec.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/wavdec.c')
-rw-r--r-- | libavformat/wavdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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*/ |