Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bdefbf3e
Commit
bdefbf3e
authored
May 16, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegaudio: move OUT_FMT macro to mpegaudiodec.c
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
92ea249d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mpegaudio.h
libavcodec/mpegaudio.h
+0
-2
mpegaudiodec.c
libavcodec/mpegaudiodec.c
+2
-0
No files found.
libavcodec/mpegaudio.h
View file @
bdefbf3e
...
...
@@ -67,11 +67,9 @@
#if CONFIG_FLOAT
typedef
float
OUT_INT
;
#define OUT_FMT AV_SAMPLE_FMT_FLT
#else
typedef
int16_t
OUT_INT
;
#define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15)
#define OUT_FMT AV_SAMPLE_FMT_S16
#endif
#if CONFIG_FLOAT
...
...
libavcodec/mpegaudiodec.c
View file @
bdefbf3e
...
...
@@ -47,6 +47,7 @@
# define MULH3(x, y, s) ((s)*(y)*(x))
# define MULLx(x, y, s) ((y)*(x))
# define RENAME(a) a ## _float
# define OUT_FMT AV_SAMPLE_FMT_FLT
#else
# define SHR(a,b) ((a)>>(b))
# define compute_antialias compute_antialias_integer
...
...
@@ -57,6 +58,7 @@
# define MULH3(x, y, s) MULH((s)*(x), y)
# define MULLx(x, y, s) MULL(x,y,s)
# define RENAME(a) a
# define OUT_FMT AV_SAMPLE_FMT_S16
#endif
/****************/
...
...
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