Skip to content
Snippets Groups Projects
Commit 51390d73 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: avi: fix fpe (#19688)

parent 71bf8f0a
No related branches found
No related tags found
No related merge requests found
......@@ -1847,7 +1847,8 @@ static mtime_t AVI_GetDPTS( avi_track_t *tk, int64_t i_count )
if( !tk->i_rate )
return i_dpts;
i_dpts = AVI_Rescale( CLOCK_FREQ * i_count, tk->i_rate, tk->i_scale );
if( tk->i_scale )
i_dpts = AVI_Rescale( CLOCK_FREQ * i_count, tk->i_rate, tk->i_scale );
if( tk->i_samplesize )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment