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
bf4b0ed1
Commit
bf4b0ed1
authored
Feb 28, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing deprecation attributes
parent
5b097399
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
avcodec.h
libavcodec/avcodec.h
+2
-1
avfilter.h
libavfilter/avfilter.h
+3
-2
pixdesc.h
libavutil/pixdesc.h
+3
-1
No files found.
libavcodec/avcodec.h
View file @
bf4b0ed1
...
...
@@ -29,6 +29,7 @@
#include <errno.h>
#include "libavutil/samplefmt.h"
#include "libavutil/attributes.h"
#include "libavutil/avutil.h"
#include "libavutil/buffer.h"
#include "libavutil/cpu.h"
...
...
@@ -1772,7 +1773,7 @@ typedef struct AVCodecContext {
* - decoding: Set by user.
* @deprecated Deprecated in favor of request_channel_layout.
*/
int
request_channels
;
attribute_deprecated
int
request_channels
;
#endif
/**
...
...
libavfilter/avfilter.h
View file @
bf4b0ed1
...
...
@@ -33,6 +33,7 @@
* @{
*/
#include "libavutil/attributes.h"
#include "libavutil/avutil.h"
#include "libavutil/frame.h"
#include "libavutil/log.h"
...
...
@@ -563,14 +564,14 @@ struct AVFilterContext {
AVFilterPad
*
input_pads
;
///< array of input pads
AVFilterLink
**
inputs
;
///< array of pointers to input links
#if FF_API_FOO_COUNT
unsigned
input_count
;
///< @deprecated use nb_inputs
attribute_deprecated
unsigned
input_count
;
///< @deprecated use nb_inputs
#endif
unsigned
nb_inputs
;
///< number of input pads
AVFilterPad
*
output_pads
;
///< array of output pads
AVFilterLink
**
outputs
;
///< array of pointers to output links
#if FF_API_FOO_COUNT
unsigned
output_count
;
///< @deprecated use nb_outputs
attribute_deprecated
unsigned
output_count
;
///< @deprecated use nb_outputs
#endif
unsigned
nb_outputs
;
///< number of output pads
...
...
libavutil/pixdesc.h
View file @
bf4b0ed1
...
...
@@ -23,6 +23,8 @@
#define AVUTIL_PIXDESC_H
#include <inttypes.h>
#include "attributes.h"
#include "pixfmt.h"
typedef
struct
AVComponentDescriptor
{
...
...
@@ -136,7 +138,7 @@ typedef struct AVPixFmtDescriptor{
/**
* The array of all the pixel format descriptors.
*/
extern
const
AVPixFmtDescriptor
av_pix_fmt_descriptors
[];
extern
attribute_deprecated
const
AVPixFmtDescriptor
av_pix_fmt_descriptors
[];
#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