lavc/h265_profile_level: Fix the default profile in ff_h265_guess_level

Default to using multiplication factors for Main profile.

Introduced since cd3578a8e4.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
This commit is contained in:
Linjie Fu 2020-01-15 14:54:43 +08:00 committed by Mark Thompson
parent 73aab08d9d
commit f0287e120a

View File

@ -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;