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
8207c67a
Commit
8207c67a
authored
Oct 22, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft
parent
468ea9d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
19 deletions
+0
-19
samplefmt.c
libavutil/samplefmt.c
+0
-8
samplefmt.h
libavutil/samplefmt.h
+0
-8
version.h
libavutil/version.h
+0
-3
No files found.
libavutil/samplefmt.c
View file @
8207c67a
...
...
@@ -98,14 +98,6 @@ int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt)
0
:
sample_fmt_info
[
sample_fmt
].
bits
>>
3
;
}
#if FF_API_GET_BITS_PER_SAMPLE_FMT
int
av_get_bits_per_sample_fmt
(
enum
AVSampleFormat
sample_fmt
)
{
return
sample_fmt
<
0
||
sample_fmt
>=
AV_SAMPLE_FMT_NB
?
0
:
sample_fmt_info
[
sample_fmt
].
bits
;
}
#endif
int
av_sample_fmt_is_planar
(
enum
AVSampleFormat
sample_fmt
)
{
if
(
sample_fmt
<
0
||
sample_fmt
>=
AV_SAMPLE_FMT_NB
)
...
...
libavutil/samplefmt.h
View file @
8207c67a
...
...
@@ -111,14 +111,6 @@ enum AVSampleFormat av_get_planar_sample_fmt(enum AVSampleFormat sample_fmt);
*/
char
*
av_get_sample_fmt_string
(
char
*
buf
,
int
buf_size
,
enum
AVSampleFormat
sample_fmt
);
#if FF_API_GET_BITS_PER_SAMPLE_FMT
/**
* @deprecated Use av_get_bytes_per_sample() instead.
*/
attribute_deprecated
int
av_get_bits_per_sample_fmt
(
enum
AVSampleFormat
sample_fmt
);
#endif
/**
* Return number of bytes per sample.
*
...
...
libavutil/version.h
View file @
8207c67a
...
...
@@ -61,9 +61,6 @@
* @{
*/
#ifndef FF_API_GET_BITS_PER_SAMPLE_FMT
#define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 52)
#endif
#ifndef FF_API_FIND_OPT
#define FF_API_FIND_OPT (LIBAVUTIL_VERSION_MAJOR < 52)
#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