shithub: aacenc

Download patch

ref: 9a523c9fb2d7dda319bbf2df013541962eb3ba6a
parent: 3426f2f9820ae9af276a0e9eaed01ab48cb0bc9c
author: menno <menno>
date: Tue Jan 23 08:23:04 EST 2001

Fix to remove compiler warnings

--- a/libfaac/joint.c
+++ b/libfaac/joint.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: joint.c,v 1.1 2001/01/17 11:21:40 menno Exp $
+ * $Id: joint.c,v 1.2 2001/01/23 13:23:04 menno Exp $
  */
 
 #include <stdlib.h> /* for max() define */
@@ -25,10 +25,10 @@
 void MSEncode(CoderInfo *coderInfo,
 			  ChannelInfo *channelInfo,
 			  double *spectrum[MAX_CHANNELS],
-			  int numberOfChannels,
-			  short msenable)
+			  unsigned int numberOfChannels,
+			  unsigned int msenable)
 {
-	int chanNum;
+	unsigned int chanNum;
 	int sfbNum;
 	int lineNum;
 	double sum,diff;
--- a/libfaac/joint.h
+++ b/libfaac/joint.h
@@ -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: joint.h,v 1.1 2001/01/17 11:21:40 menno Exp $
+ * $Id: joint.h,v 1.2 2001/01/23 13:23:04 menno Exp $
  */
 
 #ifndef JOINT_H
@@ -30,7 +30,7 @@
 
 
 void MSEncode(CoderInfo *coderInfo, ChannelInfo *channelInfo, double *spectrum[MAX_CHANNELS],
-			  int numberOfChannels, short msenable);
+			  unsigned int numberOfChannels, unsigned int msenable);
 
 #ifdef __cplusplus
 }