[FFmpeg-soc] [soc]: r3496 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Thu Aug 21 00:11:41 CEST 2008


Author: ramiro
Date: Thu Aug 21 00:11:41 2008
New Revision: 3496

Log:
Turn input bit-depth defines into an Enum.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Thu Aug 21 00:11:41 2008
@@ -121,9 +121,11 @@ typedef struct {
 #define SYNC_MLP        0xbb
 #define SYNC_TRUEHD     0xba
 
-#define BITS_16         0x0
-#define BITS_20         0x1
-#define BITS_24         0x2
+enum InputBitDepth {
+    BITS_16,
+    BITS_20,
+    BITS_24,
+};
 
 /** Returns the coded sample_rate for MLP. */
 static int mlp_sample_rate(int sample_rate)



More information about the FFmpeg-soc mailing list