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
1f5e9ede
Commit
1f5e9ede
authored
Feb 23, 2011
by
Anton Khirnov
Committed by
Michael Niedermayer
Feb 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: postpone removal of public metadata conversion API
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4c262dc1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
avformat.h
libavformat/avformat.h
+2
-2
metadata.c
libavformat/metadata.c
+2
-0
metadata.h
libavformat/metadata.h
+1
-1
version.h
libavformat/version.h
+3
-0
No files found.
libavformat/avformat.h
View file @
1f5e9ede
...
...
@@ -117,7 +117,7 @@ typedef struct {
}
AVMetadataTag
;
typedef
struct
AVMetadata
AVMetadata
;
#if FF_API_OLD_METADATA
#if FF_API_OLD_METADATA
2
typedef
struct
AVMetadataConv
AVMetadataConv
;
#endif
...
...
@@ -158,7 +158,7 @@ attribute_deprecated int av_metadata_set(AVMetadata **pm, const char *key, const
*/
int
av_metadata_set2
(
AVMetadata
**
pm
,
const
char
*
key
,
const
char
*
value
,
int
flags
);
#if FF_API_OLD_METADATA
#if FF_API_OLD_METADATA
2
/**
* This function is provided for compatibility reason and currently does nothing.
*/
...
...
libavformat/metadata.c
View file @
1f5e9ede
...
...
@@ -91,7 +91,9 @@ int av_metadata_set(AVMetadata **pm, const char *key, const char *value)
{
return
av_metadata_set2
(
pm
,
key
,
value
,
0
);
}
#endif
#if FF_API_OLD_METADATA2
void
av_metadata_conv
(
AVFormatContext
*
ctx
,
const
AVMetadataConv
*
d_conv
,
const
AVMetadataConv
*
s_conv
)
{
...
...
libavformat/metadata.h
View file @
1f5e9ede
...
...
@@ -39,7 +39,7 @@ struct AVMetadataConv{
const
char
*
native
;
const
char
*
generic
;
};
#if !FF_API_OLD_METADATA
#if !FF_API_OLD_METADATA
2
typedef
struct
AVMetadataConv
AVMetadataConv
;
#endif
...
...
libavformat/version.h
View file @
1f5e9ede
...
...
@@ -47,6 +47,9 @@
#ifndef FF_API_OLD_METADATA
#define FF_API_OLD_METADATA (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_OLD_METADATA2
#define FF_API_OLD_METADATA2 (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_URL_CLASS
#define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53)
#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