Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
7c976307
Commit
7c976307
authored
May 21, 2021
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: move av_get_profile_name() from avcodec.h to codec.h
parent
bb3648e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
APIchanges
doc/APIchanges
+3
-0
avcodec.h
libavcodec/avcodec.h
+0
-9
codec.h
libavcodec/codec.h
+9
-0
No files found.
doc/APIchanges
View file @
7c976307
...
...
@@ -14,6 +14,9 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec.h
Move av_get_profile_name() from avcodec.h to codec.h.
2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec_par.h
Move av_get_audio_frame_duration2() from avcodec.h to codec_par.h.
...
...
libavcodec/avcodec.h
View file @
7c976307
...
...
@@ -3055,15 +3055,6 @@ enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const en
void
avcodec_string
(
char
*
buf
,
int
buf_size
,
AVCodecContext
*
enc
,
int
encode
);
/**
* Return a name for the specified profile, if available.
*
* @param codec the codec that is searched for the given profile
* @param profile the profile value for which a name is requested
* @return A name for the profile if found, NULL otherwise.
*/
const
char
*
av_get_profile_name
(
const
AVCodec
*
codec
,
int
profile
);
int
avcodec_default_execute
(
AVCodecContext
*
c
,
int
(
*
func
)(
AVCodecContext
*
c2
,
void
*
arg2
),
void
*
arg
,
int
*
ret
,
int
count
,
int
size
);
int
avcodec_default_execute2
(
AVCodecContext
*
c
,
int
(
*
func
)(
AVCodecContext
*
c2
,
void
*
arg2
,
int
,
int
),
void
*
arg
,
int
*
ret
,
int
count
);
//FIXME func typedef
...
...
libavcodec/codec.h
View file @
7c976307
...
...
@@ -402,6 +402,15 @@ int av_codec_is_encoder(const AVCodec *codec);
*/
int
av_codec_is_decoder
(
const
AVCodec
*
codec
);
/**
* Return a name for the specified profile, if available.
*
* @param codec the codec that is searched for the given profile
* @param profile the profile value for which a name is requested
* @return A name for the profile if found, NULL otherwise.
*/
const
char
*
av_get_profile_name
(
const
AVCodec
*
codec
,
int
profile
);
enum
{
/**
* The codec supports this format via the hw_device_ctx interface.
...
...
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