summaryrefslogtreecommitdiff
path: root/src/libflac
diff options
context:
space:
mode:
Diffstat (limited to 'src/libflac')
-rw-r--r--src/libflac/decoder_flac.c2
-rw-r--r--src/libflac/demux_flac.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libflac/decoder_flac.c b/src/libflac/decoder_flac.c
index 00f26742b..14ef172da 100644
--- a/src/libflac/decoder_flac.c
+++ b/src/libflac/decoder_flac.c
@@ -425,7 +425,7 @@ void *demux_flac_init_class (xine_t *xine, void *data);
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_AUDIO_DECODER, 13, "flacdec", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};
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