diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-12 17:25:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-12 17:25:30 +0200 |
commit | 16837f9846c56b7aab48bf409c1127cc665b6fb5 (patch) | |
tree | 35c65fa96de2250db1c6de2d15f415c085e61841 /libavcodec/aacenc.h | |
parent | 5748e24950ecd58ae4baf427cda4f3e592105eb4 (diff) | |
download | ffmpeg-16837f9846c56b7aab48bf409c1127cc665b6fb5.tar.gz |
avcodec/aacenc: use enum for aac coder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r-- | libavcodec/aacenc.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h index 19e442a24b..ecd6811f31 100644 --- a/libavcodec/aacenc.h +++ b/libavcodec/aacenc.h @@ -30,12 +30,14 @@ #include "audio_frame_queue.h" #include "psymodel.h" -#define AAC_CODER_FAAC 0 -#define AAC_CODER_ANMR 1 -#define AAC_CODER_TWOLOOP 2 -#define AAC_CODER_FAST 3 - -#define AAC_CODER_NB 4 +typedef enum AACCoder { + AAC_CODER_FAAC = 0, + AAC_CODER_ANMR, + AAC_CODER_TWOLOOP, + AAC_CODER_FAST, + + AAC_CODER_NB, +}AACCoder; typedef struct AACEncOptions { int stereo_mode; |