History

avcodec/codec_desc: remove Intra Only prop for AAC

xHE-AAC is a profile where some frames depend on other key frames, named IPF. By setting the codec as Intra Only, all frames output by decoders and all packets output by encoders/demuxers will be unconditionally flaged as keyframes, which is incorrect. Should fix ticket #11272.

James Almer committed 1 year ago

Commit 40bd6d81 parent 8d2d2512 files · +3 −3Browse files

Unified · Split

2 files
  1. libavcodec/codec_desc.c +2 −2
  2. libavcodec/version.h +1 −1
libavcodec/codec_desc.c+2−2
@@ -2715,7 +2715,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 2714 unmodified lines
2715 .type = AVMEDIA_TYPE_AUDIO,2715 .type = AVMEDIA_TYPE_AUDIO,
2716 .name = "aac",2716 .name = "aac",
2717 .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),2717 .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
2718 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,2718 .props = AV_CODEC_PROP_LOSSY,
2719 .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),2719 .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
2720 },2720 },
2721 {2721 {
@@ -3049,7 +3049,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 327 unmodified lines
3049 .type = AVMEDIA_TYPE_AUDIO,3049 .type = AVMEDIA_TYPE_AUDIO,
3050 .name = "aac_latm",3050 .name = "aac_latm",
3051 .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),3051 .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),
3052 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,3052 .props = AV_CODEC_PROP_LOSSY,
3053 .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),3053 .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
3054 },3054 },
3055 {3055 {
libavcodec/version.h+1−1
@@ -30,7 +30,7 @@ · 29 unmodified lines
30#include "version_major.h"30#include "version_major.h"
31 31
32#define LIBAVCODEC_VERSION_MINOR 2532#define LIBAVCODEC_VERSION_MINOR 25
33#define LIBAVCODEC_VERSION_MICRO 10233#define LIBAVCODEC_VERSION_MICRO 103
34 34
35#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \35#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
36 LIBAVCODEC_VERSION_MINOR, \36 LIBAVCODEC_VERSION_MINOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t