aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/AudiofileDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-11 11:43:52 +0100
committerMax Kellermann <max@duempel.org>2014-11-11 11:43:52 +0100
commitc3f6502be277ea7a9eb42babc4dc44ab2abf59e2 (patch)
tree1282ad28125722133058fb21846877454f139bc2 /src/decoder/plugins/AudiofileDecoderPlugin.cxx
parent0120f396acadc56ef907e64a2ec40060e4ee5678 (diff)
parente5217e6ce97d4a0f972223f5eb6308e9b5e8df8f (diff)
downloadmpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.tar.gz
mpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.tar.xz
mpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.zip
Merge tag 'v0.19.3'
Diffstat (limited to 'src/decoder/plugins/AudiofileDecoderPlugin.cxx')
-rw-r--r--src/decoder/plugins/AudiofileDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/AudiofileDecoderPlugin.cxx b/src/decoder/plugins/AudiofileDecoderPlugin.cxx
index 4b347817e..a0ef71e49 100644
--- a/src/decoder/plugins/AudiofileDecoderPlugin.cxx
+++ b/src/decoder/plugins/AudiofileDecoderPlugin.cxx
@@ -209,7 +209,7 @@ audiofile_stream_decode(Decoder &decoder, InputStream &is)
const auto total_time = audiofile_get_duration(fh);
const uint16_t kbit_rate = (uint16_t)
- (is.GetSize() * uint64_t(8000) / total_time.ToMS());
+ (is.GetSize() * uint64_t(8) / total_time.ToMS());
const unsigned frame_size = (unsigned)
afGetVirtualFrameSize(fh, AF_DEFAULT_TRACK, true);