diff options
Diffstat (limited to 'plugins/flac/flac.c')
-rw-r--r-- | plugins/flac/flac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index b45b0205..82656795 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -366,7 +366,7 @@ cflac_read_float32 (char *bytes, int size) { do { if (remaining) { int n_input_frames = remaining / sizeof (float) / n_output_channels; - int n_output_frames = size / n_output_channels / sizeof (int16_t); + int n_output_frames = size / n_output_channels / sizeof (float); int n = min (n_input_frames, n_output_frames); float *in = (float *)buffer; |