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
23694e27
Commit
23694e27
authored
Sep 08, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop deprecated SAMPLE_FMT_S24.
Originally committed as revision 15264 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d578432d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
4 deletions
+0
-4
audioconvert.c
libavcodec/audioconvert.c
+0
-1
avcodec.h
libavcodec/avcodec.h
+0
-1
utils.c
libavcodec/utils.c
+0
-2
No files found.
libavcodec/audioconvert.c
View file @
23694e27
...
@@ -37,7 +37,6 @@ typedef struct SampleFmtInfo {
...
@@ -37,7 +37,6 @@ typedef struct SampleFmtInfo {
static
const
SampleFmtInfo
sample_fmt_info
[
SAMPLE_FMT_NB
]
=
{
static
const
SampleFmtInfo
sample_fmt_info
[
SAMPLE_FMT_NB
]
=
{
[
SAMPLE_FMT_U8
]
=
{
.
name
=
"u8"
,
.
bits
=
8
},
[
SAMPLE_FMT_U8
]
=
{
.
name
=
"u8"
,
.
bits
=
8
},
[
SAMPLE_FMT_S16
]
=
{
.
name
=
"s16"
,
.
bits
=
16
},
[
SAMPLE_FMT_S16
]
=
{
.
name
=
"s16"
,
.
bits
=
16
},
[
SAMPLE_FMT_S24
]
=
{
.
name
=
"s24"
,
.
bits
=
24
},
[
SAMPLE_FMT_S32
]
=
{
.
name
=
"s32"
,
.
bits
=
32
},
[
SAMPLE_FMT_S32
]
=
{
.
name
=
"s32"
,
.
bits
=
32
},
[
SAMPLE_FMT_FLT
]
=
{
.
name
=
"flt"
,
.
bits
=
32
},
[
SAMPLE_FMT_FLT
]
=
{
.
name
=
"flt"
,
.
bits
=
32
},
[
SAMPLE_FMT_DBL
]
=
{
.
name
=
"dbl"
,
.
bits
=
64
},
[
SAMPLE_FMT_DBL
]
=
{
.
name
=
"dbl"
,
.
bits
=
64
},
...
...
libavcodec/avcodec.h
View file @
23694e27
...
@@ -339,7 +339,6 @@ enum SampleFormat {
...
@@ -339,7 +339,6 @@ enum SampleFormat {
SAMPLE_FMT_NONE
=
-
1
,
SAMPLE_FMT_NONE
=
-
1
,
SAMPLE_FMT_U8
,
///< unsigned 8 bits
SAMPLE_FMT_U8
,
///< unsigned 8 bits
SAMPLE_FMT_S16
,
///< signed 16 bits
SAMPLE_FMT_S16
,
///< signed 16 bits
SAMPLE_FMT_S24
,
///< signed 24 bits @deprecated Deprecated in favor of SAMPLE_FMT_S32
SAMPLE_FMT_S32
,
///< signed 32 bits
SAMPLE_FMT_S32
,
///< signed 32 bits
SAMPLE_FMT_FLT
,
///< float
SAMPLE_FMT_FLT
,
///< float
SAMPLE_FMT_DBL
,
///< double
SAMPLE_FMT_DBL
,
///< double
...
...
libavcodec/utils.c
View file @
23694e27
...
@@ -1310,8 +1310,6 @@ int av_get_bits_per_sample_format(enum SampleFormat sample_fmt) {
...
@@ -1310,8 +1310,6 @@ int av_get_bits_per_sample_format(enum SampleFormat sample_fmt) {
return
8
;
return
8
;
case
SAMPLE_FMT_S16
:
case
SAMPLE_FMT_S16
:
return
16
;
return
16
;
case
SAMPLE_FMT_S24
:
return
24
;
case
SAMPLE_FMT_S32
:
case
SAMPLE_FMT_S32
:
case
SAMPLE_FMT_FLT
:
case
SAMPLE_FMT_FLT
:
return
32
;
return
32
;
...
...
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