You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
mpegaudio: merge two #if CONFIG_FLOAT blocks
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
@@ -62,21 +62,18 @@
|
||||
|
||||
#define FIX(a) ((int)((a) * FRAC_ONE))
|
||||
|
||||
#if CONFIG_FLOAT
|
||||
typedef float OUT_INT;
|
||||
#else
|
||||
typedef int16_t OUT_INT;
|
||||
#endif
|
||||
|
||||
#if CONFIG_FLOAT
|
||||
# define INTFLOAT float
|
||||
typedef float MPA_INT;
|
||||
typedef float OUT_INT;
|
||||
#elif FRAC_BITS <= 15
|
||||
# define INTFLOAT int
|
||||
typedef int16_t MPA_INT;
|
||||
typedef int16_t OUT_INT;
|
||||
#else
|
||||
# define INTFLOAT int
|
||||
typedef int32_t MPA_INT;
|
||||
typedef int16_t OUT_INT;
|
||||
#endif
|
||||
|
||||
#define MPA_DECODE_HEADER \
|
||||
|
Reference in New Issue
Block a user