[3.0] demux: mpeg: cast to vlc_tick_t early
So we can pass smaller type and not overflow.
Backport of !7554 (merged) plus some commits to minimize differences with master.
So we can pass smaller type and not overflow.
Backport of !7554 (merged) plus some commits to minimize differences with master.
VideoLAN code repository instance