mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user