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
ba71c740
Commit
ba71c740
authored
Apr 29, 2014
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate AVCodecContext.codec_name
It is undocumented and has no real use.
parent
e7fc9796
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
avcodec.h
libavcodec/avcodec.h
+6
-0
version.h
libavcodec/version.h
+3
-0
No files found.
libavcodec/avcodec.h
View file @
ba71c740
...
@@ -1099,7 +1099,13 @@ typedef struct AVCodecContext {
...
@@ -1099,7 +1099,13 @@ typedef struct AVCodecContext {
enum
AVMediaType
codec_type
;
/* see AVMEDIA_TYPE_xxx */
enum
AVMediaType
codec_type
;
/* see AVMEDIA_TYPE_xxx */
const
struct
AVCodec
*
codec
;
const
struct
AVCodec
*
codec
;
#if FF_API_CODEC_NAME
/**
* @deprecated this field is not used for anything in libavcodec
*/
attribute_deprecated
char
codec_name
[
32
];
char
codec_name
[
32
];
#endif
enum
AVCodecID
codec_id
;
/* see AV_CODEC_ID_xxx */
enum
AVCodecID
codec_id
;
/* see AV_CODEC_ID_xxx */
/**
/**
...
...
libavcodec/version.h
View file @
ba71c740
...
@@ -141,5 +141,8 @@
...
@@ -141,5 +141,8 @@
#ifndef FF_API_MV0
#ifndef FF_API_MV0
#define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 57)
#define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 57)
#endif
#endif
#ifndef FF_API_CODEC_NAME
#define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 57)
#endif
#endif
/* AVCODEC_VERSION_H */
#endif
/* AVCODEC_VERSION_H */
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