diff options
author | James Almer <jamrial@gmail.com> | 2021-05-01 23:05:21 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-05-07 09:27:20 -0300 |
commit | 1262f67cca1ed045521dc3af0d9d0ee9716335f2 (patch) | |
tree | a2f48561496b377c2be4a54f716e338aa4bdf694 /libavformat/nutdec.c | |
parent | 553619eacbdc7fdb88bb1f7e8658febbd258545e (diff) | |
download | ffmpeg-1262f67cca1ed045521dc3af0d9d0ee9716335f2.tar.gz |
avformat: move AVStream.last-IP_{pts,duration} to AVStreamInternal
Those 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/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 46f21ddd57..e709257135 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -1086,7 +1086,7 @@ static int decode_frame(NUTContext *nut, AVPacket *pkt, int frame_code) stc->skip_until_key_frame = 0; discard = s->streams[stream_id]->discard; - last_IP_pts = s->streams[stream_id]->last_IP_pts; + last_IP_pts = s->streams[stream_id]->internal->last_IP_pts; if ((discard >= AVDISCARD_NONKEY && !(stc->last_flags & FLAG_KEY)) || (discard >= AVDISCARD_BIDIR && last_IP_pts != AV_NOPTS_VALUE && last_IP_pts > pts) || |