shithub: aacdec

Download patch

ref: fffe3e713df85d20c43ac99b0a475963cbff20b5
parent: e9f3355cb9b2b26154a1b8a70ade9b2f43b811f1
author: menno <menno>
date: Thu Dec 26 15:22:09 EST 2002

unsigned integer change

--- a/plugins/foo_mp4/foo_mp4.cpp
+++ b/plugins/foo_mp4/foo_mp4.cpp
@@ -16,7 +16,7 @@
 ** along with this program; if not, write to the Free Software
 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 **
-** $Id: foo_mp4.cpp,v 1.4 2002/12/26 19:47:55 menno Exp $
+** $Id: foo_mp4.cpp,v 1.5 2002/12/26 20:22:09 menno Exp $
 **/
 
 #include <mp4.h>
@@ -76,7 +76,7 @@
         info->set_length((double)msDuration/1000.0);
 
         info->info_set_int(L"bitrate",(__int64)(1.0/1000.0 *
-            (double)MP4GetTrackIntegerProperty(hFile,
+            (double)(__int64)MP4GetTrackIntegerProperty(hFile,
             track, "mdia.minf.stbl.stsd.mp4a.esds.decConfigDescr.avgBitrate")) + 0.5);
         info->info_set_int(L"channels", (__int64)channels);
         info->info_set_int(L"samplerate", (__int64)m_samplerate);