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
f156d353
Commit
f156d353
authored
Mar 26, 2017
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate av_get_codec_tag_string()
parent
bfdcdd6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
avcodec.h
libavcodec/avcodec.h
+5
-0
version.h
libavcodec/version.h
+3
-0
No files found.
libavcodec/avcodec.h
View file @
f156d353
...
@@ -5667,6 +5667,7 @@ attribute_deprecated
...
@@ -5667,6 +5667,7 @@ attribute_deprecated
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
#endif
#endif
#if FF_API_TAG_STRING
/**
/**
* Put a string representing the codec tag codec_tag in buf.
* Put a string representing the codec tag codec_tag in buf.
*
*
...
@@ -5675,8 +5676,12 @@ void avcodec_set_dimensions(AVCodecContext *s, int width, int height);
...
@@ -5675,8 +5676,12 @@ void avcodec_set_dimensions(AVCodecContext *s, int width, int height);
* @param codec_tag codec tag to assign
* @param codec_tag codec tag to assign
* @return the length of the string that would have been generated if
* @return the length of the string that would have been generated if
* enough space had been available, excluding the trailing null
* enough space had been available, excluding the trailing null
*
* @deprecated see av_fourcc_make_string() and av_fourcc2str().
*/
*/
attribute_deprecated
size_t
av_get_codec_tag_string
(
char
*
buf
,
size_t
buf_size
,
unsigned
int
codec_tag
);
size_t
av_get_codec_tag_string
(
char
*
buf
,
size_t
buf_size
,
unsigned
int
codec_tag
);
#endif
void
avcodec_string
(
char
*
buf
,
int
buf_size
,
AVCodecContext
*
enc
,
int
encode
);
void
avcodec_string
(
char
*
buf
,
int
buf_size
,
AVCodecContext
*
enc
,
int
encode
);
...
...
libavcodec/version.h
View file @
f156d353
...
@@ -235,6 +235,9 @@
...
@@ -235,6 +235,9 @@
#ifndef FF_API_MERGE_SD_API
#ifndef FF_API_MERGE_SD_API
#define FF_API_MERGE_SD_API (LIBAVCODEC_VERSION_MAJOR < 59)
#define FF_API_MERGE_SD_API (LIBAVCODEC_VERSION_MAJOR < 59)
#endif
#endif
#ifndef FF_API_TAG_STRING
#define FF_API_TAG_STRING (LIBAVCODEC_VERSION_MAJOR < 59)
#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