demux:mp4: the local i_time in FragGetMoofByTfraIndex() is not an mtime_t
authorSteve Lhomme <robux4@ycbcr.xyz>
Fri, 8 Jun 2018 12:12:55 +0000 (14:12 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Thu, 14 Jun 2018 14:15:24 +0000 (16:15 +0200)
modules/demux/mp4/mp4.c

index fd181f3..5982605 100644 (file)
@@ -4837,7 +4837,7 @@ static int FragGetMoofByTfraIndex( demux_t *p_demux, const mtime_t i_target_time
                 stime_t i_track_target_time = MP4_rescale( i_target_time, CLOCK_FREQ, p_track->i_timescale );
                 for ( uint32_t i = 0; i<p_data->i_number_of_entries; i += ( p_data->i_version == 1 ) ? 2 : 1 )
                 {
-                    mtime_t i_time;
+                    stime_t i_time;
                     uint64_t i_offset;
                     if ( p_data->i_version == 1 )
                     {