forked from FFmpeg/FFmpeg
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:
parent
6662ca28d4
commit
8ffb3f08c6
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
#ifdef AMR_USE_16BIT_TABLES
|
#ifdef AMR_USE_16BIT_TABLES
|
||||||
#define R_TABLE_TYPE uint16_t
|
typedef uint16_t R_TABLE_TYPE;
|
||||||
#else
|
#else
|
||||||
#define R_TABLE_TYPE uint8_t
|
typedef uint8_t R_TABLE_TYPE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue