shithub: aacdec

Download patch

ref: e7a69a62164a19f1382b2de4e3c5e641a0588c55
parent: 4f70299f939079eb3745470e0631b4c664b17a90
author: menno <menno>
date: Mon Jun 16 17:24:50 EDT 2003

Fixed problem with "use for AAC" option
Seems that the Nullsoft plugin suffers from the same problem :)

--- 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.31 2003/06/13 18:36:43 menno Exp $
+** $Id: in_mp4.c,v 1.32 2003/06/16 21:24:50 menno Exp $
 **/
 
 //#define DEBUG_OUTPUT
@@ -1488,5 +1488,13 @@
 
 __declspec(dllexport) In_Module* winampGetInModule2()
 {
+    config_read();
+
+    if (!m_use_for_aac)
+    {
+        module.FileExtensions =
+            "MP4\0MPEG-4 Files (*.MP4)\0M4A\0MPEG-4 Files (*.M4A)\0";
+    }
+
     return &module;
 }