[FFmpeg-soc] [soc]: r4854 - amr/amrnbdec.c

cmcq subversion at mplayerhq.hu
Fri Jul 31 05:02:38 CEST 2009


Author: cmcq
Date: Fri Jul 31 05:02:37 2009
New Revision: 4854

Log:
Use appropriate enum types

Modified:
   amr/amrnbdec.c

Modified: amr/amrnbdec.c
==============================================================================
--- amr/amrnbdec.c	Fri Jul 31 03:59:27 2009	(r4853)
+++ amr/amrnbdec.c	Fri Jul 31 05:02:37 2009	(r4854)
@@ -47,8 +47,8 @@ typedef struct AMRContext {
 
     AMRNBFrame                        frame; ///< decoded AMR parameters (lsf coefficients, codebook indexes, etc)
     int                 bad_frame_indicator; ///< bad frame ? 1 : 0
-    int                      cur_frame_mode; ///< current frame mode
-    int                      cur_frame_type; ///< current frame type
+    enum Mode                cur_frame_mode; ///< current frame mode
+    enum RXFrameType         cur_frame_type; ///< current frame type
 
     float       prev_lsf_r[LP_FILTER_ORDER]; ///< residual LSF vector from previous subframe
     float           lsp[4][LP_FILTER_ORDER]; ///< lsp vectors from current frame


More information about the FFmpeg-soc mailing list