You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-25 14:23:15 +02:00
avcodec/defs: Add AV_PROFILE_* defines, deprecate FF_PROFILE_* defines
These defines are also used in other contexts than just AVCodecContext ones, e.g. in libavformat. Furthermore, given that these defines are public, the AV-prefix is the right one, so deprecate (and not just move) the FF-macros. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -1757,8 +1757,8 @@ static const struct {
|
||||
static int mov_get_dnxhd_codec_tag(AVFormatContext *s, MOVTrack *track)
|
||||
{
|
||||
int tag = MKTAG('A','V','d','n');
|
||||
if (track->par->profile != FF_PROFILE_UNKNOWN &&
|
||||
track->par->profile != FF_PROFILE_DNXHD)
|
||||
if (track->par->profile != AV_PROFILE_UNKNOWN &&
|
||||
track->par->profile != AV_PROFILE_DNXHD)
|
||||
tag = MKTAG('A','V','d','h');
|
||||
return tag;
|
||||
}
|
||||
@ -4766,10 +4766,10 @@ static int mov_write_isml_manifest(AVIOContext *pb, MOVMuxContext *mov, AVFormat
|
||||
if (track->par->codec_id == AV_CODEC_ID_AAC) {
|
||||
switch (track->par->profile)
|
||||
{
|
||||
case FF_PROFILE_AAC_HE_V2:
|
||||
case AV_PROFILE_AAC_HE_V2:
|
||||
param_write_string(pb, "FourCC", "AACP");
|
||||
break;
|
||||
case FF_PROFILE_AAC_HE:
|
||||
case AV_PROFILE_AAC_HE:
|
||||
param_write_string(pb, "FourCC", "AACH");
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user