This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mpegaudio: merge two #if CONFIG_FLOAT blocks
Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.8
Mans Rullgard
14 years ago
parent
918d0584a4
commit
c7bbc6cd7a
1 changed files
with
3 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-6
libavcodec/mpegaudio.h
+ 3
- 6
libavcodec/mpegaudio.h
View File
@@ -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 \
Write
Preview
Loading…
Cancel
Save