Commit 9d4539fc authored by Ilkka Ollakka's avatar Ilkka Ollakka

use CLOCK_FREQ

parent b9883cb9
......@@ -389,7 +389,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
if( b_eos )
p_pic->i_flags |= BLOCK_FLAG_END_OF_SEQUENCE;
i_duration = (mtime_t)( 1000000 * p_sys->i_frame_rate_base /
i_duration = (mtime_t)( CLOCK_FREQ * p_sys->i_frame_rate_base /
p_sys->i_frame_rate );
if( !p_sys->b_seq_progressive && p_sys->i_picture_structure != 0x03 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment