Commit 079dc8f6 authored by Tristan Matthews's avatar Tristan Matthews

theora: use CLOCK_FREQ

parent 67660969
......@@ -458,7 +458,7 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
}
/* Date management */
p_sys->i_pts += ( INT64_C(1000000) * p_sys->ti.fps_denominator /
p_sys->i_pts += ( CLOCK_FREQ * p_sys->ti.fps_denominator /
p_sys->ti.fps_numerator ); /* 1 frame per packet */
return p_buf;
......
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