diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-17 01:01:18 +0300 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-21 16:51:49 +0300 |
commit | 8ffb3f08c6d44fe9ce7076288b1cd63edc56dad7 (patch) | |
tree | 2707f9cc4f29f4c2740132aec870affa9799091a | |
parent | 6662ca28d4c03c2f45fdba3945c7f0e7bdf64264 (diff) |
avcodec/amr: replace #define by typedef
See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c
for rationale.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-rw-r--r-- | libavcodec/amr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/amr.h b/libavcodec/amr.h index 1ac73abe86..727f8c3469 100644 --- a/libavcodec/amr.h +++ b/libavcodec/amr.h @@ -28,9 +28,9 @@ #include "avcodec.h" #ifdef AMR_USE_16BIT_TABLES -#define R_TABLE_TYPE uint16_t +typedef uint16_t R_TABLE_TYPE; #else -#define R_TABLE_TYPE uint8_t +typedef uint8_t R_TABLE_TYPE; #endif /** |