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
27152715 .type = AVMEDIA_TYPE_AUDIO,
27162716 .name = "aac",
27172717 .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,
27192719 .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
27202720 },
27212721 {
@@ -3049,7 +3049,7 @@ static const AVCodecDescriptor codec_descriptors[] = { · 327 unmodified lines
30493049 .type = AVMEDIA_TYPE_AUDIO,
30503050 .name = "aac_latm",
30513051 .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,
30533053 .profiles = NULL_IF_CONFIG_SMALL(ff_aac_profiles),
30543054 },
30553055 {
libavcodec/version.h+1−1
@@ -30,7 +30,7 @@ · 29 unmodified lines
3030 #include "version_major.h"
3131
3232 #define LIBAVCODEC_VERSION_MINOR 25
33−#define LIBAVCODEC_VERSION_MICRO 102
33+#define LIBAVCODEC_VERSION_MICRO 103
3434
3535 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
3636 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