shithub: aacdec

Download patch

ref: bca4f2b1da059fbf49a117f447b16b244fa7329a
parent: ec8e4093c3354d1248374f8e27ea1e388d1f922a
author: menno <menno>
date: Thu Jan 24 04:27:54 EST 2002

time calculation fixed

--- a/plugins/in_mp4/in_mp4.c
+++ b/plugins/in_mp4/in_mp4.c
@@ -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: in_mp4.c,v 1.5 2002/01/23 23:42:14 menno Exp $
+** $Id: in_mp4.c,v 1.6 2002/01/24 09:27:54 menno Exp $
 **/
 
 #define WIN32_LEAN_AND_MEAN
@@ -678,7 +678,6 @@
 
 int getsonglength(char *fn)
 {
-#if 0
     int track;
     long long msDuration;
 	MP4Duration length;
@@ -702,9 +701,6 @@
     MP4Close(file);
 
     return msDuration;
-#else
-    return 0;
-#endif
 }
 
 int getlength()