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
881db34f
Commit
881db34f
authored
May 31, 2021
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: move av_get_pcm_codec() from avcodec.h to codec_id.h
parent
2628dff3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
APIchanges
doc/APIchanges
+2
-1
avcodec.h
libavcodec/avcodec.h
+0
-8
codec_id.h
libavcodec/codec_id.h
+9
-0
No files found.
doc/APIchanges
View file @
881db34f
...
...
@@ -16,7 +16,8 @@ API changes, most recent first:
2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec_id.h
Move av_get_bits_per_sample(), av_get_exact_bits_per_sample(),
and avcodec_profile_name() from avcodec.h to codec_id.h.
avcodec_profile_name(), and av_get_pcm_codec() from avcodec.h
to codec_id.h.
2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h defs.h
Add new installed header defs.h. The following definitions are moved
...
...
libavcodec/avcodec.h
View file @
881db34f
...
...
@@ -3111,14 +3111,6 @@ int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels,
*/
void
avcodec_flush_buffers
(
AVCodecContext
*
avctx
);
/**
* Return the PCM codec associated with a sample format.
* @param be endianness, 0 for little, 1 for big,
* -1 (or anything else) for native
* @return AV_CODEC_ID_PCM_* or AV_CODEC_ID_NONE
*/
enum
AVCodecID
av_get_pcm_codec
(
enum
AVSampleFormat
fmt
,
int
be
);
/**
* Return audio frame duration.
*
...
...
libavcodec/codec_id.h
View file @
881db34f
...
...
@@ -22,6 +22,7 @@
#define AVCODEC_CODEC_ID_H
#include "libavutil/avutil.h"
#include "libavutil/samplefmt.h"
/**
* @addtogroup lavc_core
...
...
@@ -611,6 +612,14 @@ int av_get_exact_bits_per_sample(enum AVCodecID codec_id);
*/
const
char
*
avcodec_profile_name
(
enum
AVCodecID
codec_id
,
int
profile
);
/**
* Return the PCM codec associated with a sample format.
* @param be endianness, 0 for little, 1 for big,
* -1 (or anything else) for native
* @return AV_CODEC_ID_PCM_* or AV_CODEC_ID_NONE
*/
enum
AVCodecID
av_get_pcm_codec
(
enum
AVSampleFormat
fmt
,
int
be
);
/**
* @}
*/
...
...
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