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
f326501a
Commit
f326501a
authored
Jan 22, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove disabled FF_API_DRC_SCALE cruft.
parent
d2d93150
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
22 deletions
+0
-22
ac3dec.c
libavcodec/ac3dec.c
+0
-5
avcodec.h
libavcodec/avcodec.h
+0
-11
options.c
libavcodec/options.c
+0
-3
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/ac3dec.c
View file @
f326501a
...
...
@@ -174,11 +174,6 @@ static av_cold int ac3_decode_init(AVCodecContext *avctx)
AC3DecodeContext
*
s
=
avctx
->
priv_data
;
s
->
avctx
=
avctx
;
#if FF_API_DRC_SCALE
if
(
avctx
->
drc_scale
)
s
->
drc_scale
=
avctx
->
drc_scale
;
#endif
ff_ac3_common_init
();
ac3_tables_init
();
ff_mdct_init
(
&
s
->
imdct_256
,
8
,
1
,
1
.
0
);
...
...
libavcodec/avcodec.h
View file @
f326501a
...
...
@@ -2597,17 +2597,6 @@ typedef struct AVCodecContext {
int
request_channels
;
#endif
#if FF_API_DRC_SCALE
/**
* Percentage of dynamic range compression to be applied by the decoder.
* The default value is 1.0, corresponding to full compression.
* - encoding: unused
* - decoding: Set by user.
* @deprecated use AC3 decoder private option instead.
*/
attribute_deprecated
float
drc_scale
;
#endif
/**
* opaque 64bit number (generally a PTS) that will be reordered and
* output in AVFrame.reordered_opaque
...
...
libavcodec/options.c
View file @
f326501a
...
...
@@ -393,9 +393,6 @@ static const AVOption options[]={
#if FF_API_REQUEST_CHANNELS
{
"request_channels"
,
"set desired number of audio channels"
,
OFFSET
(
request_channels
),
AV_OPT_TYPE_INT
,
{.
dbl
=
DEFAULT
},
0
,
INT_MAX
,
A
|
D
},
#endif
#if FF_API_DRC_SCALE
{
"drc_scale"
,
"percentage of dynamic range compression to apply"
,
OFFSET
(
drc_scale
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
0
.
0
},
0
.
0
,
1
.
0
,
A
|
D
},
#endif
#if FF_API_LAME_GLOBAL_OPTS
{
"reservoir"
,
"use bit reservoir"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG2_BIT_RESERVOIR
},
INT_MIN
,
INT_MAX
,
A
|
E
,
"flags2"
},
#endif
...
...
libavcodec/version.h
View file @
f326501a
...
...
@@ -41,9 +41,6 @@
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_DRC_SCALE
#define FF_API_DRC_SCALE (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_ER
#define FF_API_ER (LIBAVCODEC_VERSION_MAJOR < 54)
#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