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>
This commit is contained in:
Ganesh Ajjanagadde 2015-11-16 17:01:18 -05:00
parent 6662ca28d4
commit 8ffb3f08c6

View File

@ -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
/**