diff options
Diffstat (limited to 'src/libflac/demux_flac.c')
-rw-r--r-- | src/libflac/demux_flac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libflac/demux_flac.c b/src/libflac/demux_flac.c index 80af4630e..6c83715d9 100644 --- a/src/libflac/demux_flac.c +++ b/src/libflac/demux_flac.c @@ -423,7 +423,7 @@ demux_flac_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time) { } else { - double distance = (double)start_time*1000.0; + double distance = (double)start_time; uint64_t target_sample = (uint64_t)(distance * this->total_samples); FLAC__bool s = false; @@ -667,7 +667,7 @@ demux_flac_init_class (xine_t *xine, void *data) { #if 0 plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_DEMUX, 21, "flac", XINE_VERSION_CODE, NULL, demux_flac_init_class }, + { PLUGIN_DEMUX, 22, "flac", XINE_VERSION_CODE, NULL, demux_flac_init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; #endif |