[FFmpeg-soc] [soc]: r2533 - aac/aac.c

superdump subversion at mplayerhq.hu
Sun Jun 22 12:46:06 CEST 2008


Author: superdump
Date: Sun Jun 22 12:46:06 2008
New Revision: 2533

Log:
Name the window sequence enum and use it as a data type for the window_sequence
variable


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sun Jun 22 12:46:06 2008
@@ -129,7 +129,7 @@ enum {
 /**
  * Window sequences
  */
-enum {
+enum WindowSequence {
     ONLY_LONG_SEQUENCE,
     LONG_START_SEQUENCE,
     EIGHT_SHORT_SEQUENCE,
@@ -205,7 +205,7 @@ typedef struct {
 typedef struct {
     int intensity_present;
     int max_sfb;                ///< number of scalefactor bands per group
-    int window_sequence;
+    enum WindowSequence window_sequence;
     uint8_t use_kb_window[2];   ///< If set, use Kaiser-Bessel window, otherwise use a sinus window
     int num_window_groups;
     uint8_t group_len[8];



More information about the FFmpeg-soc mailing list