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
38c304ad
Commit
38c304ad
authored
Jun 10, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ac3enc: remove empty ac3_float function that is never called
parent
e0cc66df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
12 deletions
+0
-12
ac3enc.c
libavcodec/ac3enc.c
+0
-1
ac3enc.h
libavcodec/ac3enc.h
+0
-1
ac3enc_float.c
libavcodec/ac3enc_float.c
+0
-10
No files found.
libavcodec/ac3enc.c
View file @
38c304ad
...
...
@@ -2363,7 +2363,6 @@ av_cold int ff_ac3_encode_init(AVCodecContext *avctx)
s
->
mdct_end
=
ff_ac3_float_mdct_end
;
s
->
mdct_init
=
ff_ac3_float_mdct_init
;
s
->
apply_window
=
ff_ac3_float_apply_window
;
s
->
normalize_samples
=
ff_ac3_float_normalize_samples
;
s
->
scale_coefficients
=
ff_ac3_float_scale_coefficients
;
s
->
deinterleave_input_samples
=
ff_ac3_float_deinterleave_input_samples
;
s
->
apply_mdct
=
ff_ac3_float_apply_mdct
;
...
...
libavcodec/ac3enc.h
View file @
38c304ad
...
...
@@ -269,7 +269,6 @@ void ff_ac3_float_apply_window(DSPContext *dsp, SampleType *output,
const
SampleType
*
window
,
unsigned
int
len
);
int
ff_ac3_fixed_normalize_samples
(
AC3EncodeContext
*
s
);
int
ff_ac3_float_normalize_samples
(
AC3EncodeContext
*
s
);
void
ff_ac3_fixed_scale_coefficients
(
AC3EncodeContext
*
s
);
void
ff_ac3_float_scale_coefficients
(
AC3EncodeContext
*
s
);
...
...
libavcodec/ac3enc_float.c
View file @
38c304ad
...
...
@@ -90,16 +90,6 @@ void ff_ac3_float_apply_window(DSPContext *dsp, float *output,
}
/**
* Normalize the input samples to use the maximum available precision.
*/
int
ff_ac3_float_normalize_samples
(
AC3EncodeContext
*
s
)
{
/* Normalization is not needed for floating-point samples, so just return 0 */
return
0
;
}
/**
* Scale MDCT coefficients from float to 24-bit fixed-point.
*/
...
...
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