diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-09 09:22:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-28 14:59:28 +0100 |
commit | cea7c19cda0ea1630ae1de8c102ab14231b9db10 (patch) | |
tree | 9e703af026f15d976d79a0811566043ccb95ec9f /libavformat/dhav.c | |
parent | 7e87288f73242dac6344e65f892569102893fac0 (diff) | |
download | ffmpeg-cea7c19cda0ea1630ae1de8c102ab14231b9db10.tar.gz |
lavf: move AVStream.*index_entries* to AVStreamInternal
Those are private fields, no reason to have them exposed in a public
header. Since there are some (semi-)public fields located after these,
even though this section is supposed to be private, keep some dummy
padding there until the next major bump to preserve ABI compatibility.
Diffstat (limited to 'libavformat/dhav.c')
-rw-r--r-- | libavformat/dhav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dhav.c b/libavformat/dhav.c index 79afe9be03..53deaff77e 100644 --- a/libavformat/dhav.c +++ b/libavformat/dhav.c @@ -441,10 +441,10 @@ static int dhav_read_seek(AVFormatContext *s, int stream_index, if (index < 0) return -1; - if (avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET) < 0) + if (avio_seek(s->pb, st->internal->index_entries[index].pos, SEEK_SET) < 0) return -1; - pts = st->index_entries[index].timestamp; + pts = st->internal->index_entries[index].timestamp; for (int n = 0; n < s->nb_streams; n++) { AVStream *st = s->streams[n]; |