Commit 16837f98 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/aacenc: use enum for aac coder.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5748e249
...@@ -30,12 +30,14 @@ ...@@ -30,12 +30,14 @@
#include "audio_frame_queue.h" #include "audio_frame_queue.h"
#include "psymodel.h" #include "psymodel.h"
#define AAC_CODER_FAAC 0 typedef enum AACCoder {
#define AAC_CODER_ANMR 1 AAC_CODER_FAAC = 0,
#define AAC_CODER_TWOLOOP 2 AAC_CODER_ANMR,
#define AAC_CODER_FAST 3 AAC_CODER_TWOLOOP,
AAC_CODER_FAST,
#define AAC_CODER_NB 4
AAC_CODER_NB,
}AACCoder;
typedef struct AACEncOptions { typedef struct AACEncOptions {
int stereo_mode; int stereo_mode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment