[FFmpeg-soc] [soc]: r4347 - wmapro/wma3.h

faust3 subversion at mplayerhq.hu
Sat May 30 22:39:58 CEST 2009


Author: faust3
Date: Sat May 30 22:39:58 2009
New Revision: 4347

Log:
Fixed
libavcodec/wma3dec.c:746: warning: array subscript has type ‘char’

Modified:
   wmapro/wma3.h

Modified: wmapro/wma3.h
==============================================================================
--- wmapro/wma3.h	Sat May 30 22:36:24 2009	(r4346)
+++ wmapro/wma3.h	Sat May 30 22:39:58 2009	(r4347)
@@ -74,11 +74,11 @@ typedef struct {
  * @brief channel group for channel transformations
  */
 typedef struct {
-    char num_channels;                                     ///< number of channels in the group
-    char transform;                                        ///< controls the type of the transform
-    char transform_band[MAX_BANDS];                        ///< controls if the transform is enabled for a certain band
-    float decorrelation_matrix[MAX_CHANNELS*MAX_CHANNELS]; ///< decorrelation matrix
-    char use_channel[MAX_CHANNELS];                        ///< channels that are part of the group
+    uint8_t num_channels;                                     ///< number of channels in the group
+    char    transform;                                        ///< controls the type of the transform
+    char    transform_band[MAX_BANDS];                        ///< controls if the transform is enabled for a certain band
+    float   decorrelation_matrix[MAX_CHANNELS*MAX_CHANNELS];  ///< decorrelation matrix
+    char    use_channel[MAX_CHANNELS];                        ///< channels that are part of the group
 } WMA3ChannelGroup;
 
 /**


More information about the FFmpeg-soc mailing list