aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinjie Fu <linjie.fu@intel.com>2020-01-15 14:54:43 +0800
committerMark Thompson <sw@jkqxz.net>2020-02-01 13:38:34 +0000
commitf0287e120a1a3eb6a1ccd8aca0b980f567a62d72 (patch)
tree8218362d24e383890fd43419017d1335a19fb05a
parent73aab08d9d4d32c4b1378a39440454548fcf0f87 (diff)
downloadffmpeg-f0287e120a1a3eb6a1ccd8aca0b980f567a62d72.tar.gz
lavc/h265_profile_level: Fix the default profile in ff_h265_guess_level
Default to using multiplication factors for Main profile. Introduced since cd3578a8e4e11e0ba021e621367a7974d6de5da0. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
-rw-r--r--libavcodec/h265_profile_level.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h265_profile_level.c b/libavcodec/h265_profile_level.c
index 70db1a52f6..d79c1ab204 100644
--- a/libavcodec/h265_profile_level.c
+++ b/libavcodec/h265_profile_level.c
@@ -188,7 +188,7 @@ const H265LevelDescriptor *ff_h265_guess_level(const H265RawProfileTierLevel *pt
profile = NULL;
if (!profile) {
// Default to using multiplication factors for Main profile.
- profile = &h265_profiles[3];
+ profile = &h265_profiles[4];
}
pic_size = width * height;