From 9c93c34ea142a0ecb63996312735773ec6212072 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 30 May 2018 19:08:56 +0000 Subject: enabled aac plugin git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7979 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/aac/decoder_aac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/aac/decoder_aac.cpp') diff --git a/src/plugins/Input/aac/decoder_aac.cpp b/src/plugins/Input/aac/decoder_aac.cpp index 1f5f0d7be..bd6708b6e 100644 --- a/src/plugins/Input/aac/decoder_aac.cpp +++ b/src/plugins/Input/aac/decoder_aac.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2016 by Ilya Kotov * + * Copyright (C) 2006-2018 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -90,7 +90,7 @@ bool DecoderAAC::initialize() input()->read(data, aac_file.offset()); } - m_totalTime = aac_file.length() * 1000; + m_totalTime = aac_file.duration(); m_bitrate = aac_file.bitrate(); if (!m_data) -- cgit v1.2.3-13-gbd6f