Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-17 00:59:20 +0300
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-25 04:36:40 +0300
commitaececd11abadf7c59531cd62721726b774468ee1 (patch)
treef19af08a6fcce2ce825cbcde033f79569b09e11b /libavcodec/aacps_tablegen_template.c
parent5472de5ca85e2e49c6c369eb350f3180a1f0e75b (diff)
avcodec/aacps_tablegen_template: replace #define by typedef
See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c for rationale. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec/aacps_tablegen_template.c')
-rw-r--r--libavcodec/aacps_tablegen_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacps_tablegen_template.c b/libavcodec/aacps_tablegen_template.c
index e06ec914f2..341bd44409 100644
--- a/libavcodec/aacps_tablegen_template.c
+++ b/libavcodec/aacps_tablegen_template.c
@@ -26,13 +26,13 @@
#if USE_FIXED
#define TYPE_NAME "int32_t"
-#define INT32FLOAT int32_t
+typedef int32_t INT32FLOAT;
#define ARRAY_RENAME(x) write_int32_t_ ## x
#define ARRAY_URENAME(x) write_uint32_t_ ## x
#include "aacps_fixed_tablegen.h"
#else
#define TYPE_NAME "float"
-#define INT32FLOAT float
+typedef float INT32FLOAT;
#define ARRAY_RENAME(x) write_float_ ## x
#define ARRAY_URENAME(x) write_float_ ## x
#include "aacps_tablegen.h"