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
2f8cbbc9
Commit
2f8cbbc9
authored
Jul 28, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu: Drop deprecated external access to AVPixFmtDescriptor table
Deprecated in 10/2012.
parent
183db02a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
14 deletions
+1
-14
pixdesc.c
libavutil/pixdesc.c
+1
-4
pixdesc.h
libavutil/pixdesc.h
+0
-7
version.h
libavutil/version.h
+0
-3
No files found.
libavutil/pixdesc.c
View file @
2f8cbbc9
...
...
@@ -126,10 +126,7 @@ void av_write_image_line(const uint16_t *src,
}
}
#if !FF_API_PIX_FMT_DESC
static
#endif
const
AVPixFmtDescriptor
av_pix_fmt_descriptors
[
AV_PIX_FMT_NB
]
=
{
static
const
AVPixFmtDescriptor
av_pix_fmt_descriptors
[
AV_PIX_FMT_NB
]
=
{
[
AV_PIX_FMT_YUV420P
]
=
{
.
name
=
"yuv420p"
,
.
nb_components
=
3
,
...
...
libavutil/pixdesc.h
View file @
2f8cbbc9
...
...
@@ -137,13 +137,6 @@ typedef struct AVPixFmtDescriptor {
*/
#define AV_PIX_FMT_FLAG_ALPHA (1 << 7)
#if FF_API_PIX_FMT_DESC
/**
* The array of all the pixel format descriptors.
*/
extern
attribute_deprecated
const
AVPixFmtDescriptor
av_pix_fmt_descriptors
[];
#endif
/**
* Read a line from an image, and write the values of the
* pixel format component c to dst.
...
...
libavutil/version.h
View file @
2f8cbbc9
...
...
@@ -81,9 +81,6 @@
#ifndef FF_API_CONTEXT_SIZE
#define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_PIX_FMT_DESC
#define FF_API_PIX_FMT_DESC (LIBAVUTIL_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_AV_REVERSE
#define FF_API_AV_REVERSE (LIBAVUTIL_VERSION_MAJOR < 55)
#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