[vlc-commits] demux: flac: use CLOCK_FREQ
Tristan Matthews
git at videolan.org
Fri Mar 21 16:33:28 CET 2014
vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Fri Mar 21 11:28:37 2014 -0400| [d9aed41951193e487823a660936555d879db72e3] | committer: Tristan Matthews
demux: flac: use CLOCK_FREQ
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9aed41951193e487823a660936555d879db72e3
---
modules/demux/flac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/flac.c b/modules/demux/flac.c
index 7340d07..ff066d9 100644
--- a/modules/demux/flac.c
+++ b/modules/demux/flac.c
@@ -548,7 +548,7 @@ static void ParseSeekTable( demux_t *p_demux, const uint8_t *p_data, int i_data,
continue;
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] );
/* Check for duplicate entry */
More information about the vlc-commits
mailing list