-
p_sample_offset_pts must be NULL if MP4_TRUN_SAMPLE_TIME_OFFSET is not present. Then MP4_TrackGetPTSDelta would return -1 (instead of 0 previously), and PTS of video frames would be set to VLC_TS_INVALID, which is the right thing to do in that case. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5a72f814