Commit d9aed419 authored by Tristan Matthews's avatar Tristan Matthews

demux: flac: use CLOCK_FREQ

parent 302af54f
...@@ -548,7 +548,7 @@ static void ParseSeekTable( demux_t *p_demux, const uint8_t *p_data, int i_data, ...@@ -548,7 +548,7 @@ static void ParseSeekTable( demux_t *p_demux, const uint8_t *p_data, int i_data,
continue; continue;
s = vlc_seekpoint_New(); s = vlc_seekpoint_New();
s->i_time_offset = i_sample * INT64_C(1000000)/i_sample_rate; s->i_time_offset = i_sample * CLOCK_FREQ / i_sample_rate;
s->i_byte_offset = GetQWBE( &p_data[4+18*i+8] ); s->i_byte_offset = GetQWBE( &p_data[4+18*i+8] );
/* Check for duplicate entry */ /* Check for duplicate entry */
......
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