vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Feb 4 14:54:55 2021 +0100| [90e75dfe2e3f2d65e7b79b7c523dfa781aaeb598] | committer: Francois Cartegnie
demux: mp4: remove unused chunk sample index no longer altering index for a while > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90e75dfe2e3f2d65e7b79b7c523dfa781aaeb598 --- modules/demux/mp4/mp4.c | 1 - modules/demux/mp4/mp4.h | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c index 136b25b42a..c926d47e72 100644 --- a/modules/demux/mp4/mp4.c +++ b/modules/demux/mp4/mp4.c @@ -3289,7 +3289,6 @@ static int TrackGotoChunkSample( demux_t *p_demux, mp4_track_t *p_track, return VLC_EGENERIC; p_track->i_chunk = i_chunk; - p_track->chunk[i_chunk].i_sample = i_sample - p_track->chunk[i_chunk].i_sample_first; p_track->i_sample = i_sample; return p_track->b_selected ? VLC_SUCCESS : VLC_EGENERIC; diff --git a/modules/demux/mp4/mp4.h b/modules/demux/mp4/mp4.h index 1d363b3399..5dc0bdbe20 100644 --- a/modules/demux/mp4/mp4.h +++ b/modules/demux/mp4/mp4.h @@ -37,7 +37,6 @@ typedef struct uint32_t i_sample_description_index; /* index for SampleEntry to use */ uint32_t i_sample_count; /* how many samples in this chunk */ uint32_t i_sample_first; /* index of the first sample in this chunk */ - uint32_t i_sample; /* index of the next sample to read in this chunk */ uint32_t i_virtual_run_number; /* chunks interleaving sequence */ /* now provide way to calculate pts, dts, and offset without too _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
