Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
c7bbc6cd
Commit
c7bbc6cd
authored
May 16, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegaudio: merge two #if CONFIG_FLOAT blocks
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
918d0584
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
mpegaudio.h
libavcodec/mpegaudio.h
+3
-6
No files found.
libavcodec/mpegaudio.h
View file @
c7bbc6cd
...
@@ -62,21 +62,18 @@
...
@@ -62,21 +62,18 @@
#define FIX(a) ((int)((a) * FRAC_ONE))
#define FIX(a) ((int)((a) * FRAC_ONE))
#if CONFIG_FLOAT
typedef
float
OUT_INT
;
#else
typedef
int16_t
OUT_INT
;
#endif
#if CONFIG_FLOAT
#if CONFIG_FLOAT
# define INTFLOAT float
# define INTFLOAT float
typedef
float
MPA_INT
;
typedef
float
MPA_INT
;
typedef
float
OUT_INT
;
#elif FRAC_BITS <= 15
#elif FRAC_BITS <= 15
# define INTFLOAT int
# define INTFLOAT int
typedef
int16_t
MPA_INT
;
typedef
int16_t
MPA_INT
;
typedef
int16_t
OUT_INT
;
#else
#else
# define INTFLOAT int
# define INTFLOAT int
typedef
int32_t
MPA_INT
;
typedef
int32_t
MPA_INT
;
typedef
int16_t
OUT_INT
;
#endif
#endif
#define MPA_DECODE_HEADER \
#define MPA_DECODE_HEADER \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment