mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
73aab08d9d
commit
f0287e120a
|
@ -188,7 +188,7 @@ const H265LevelDescriptor *ff_h265_guess_level(const H265RawProfileTierLevel *pt
|
||||||
profile = NULL;
|
profile = NULL;
|
||||||
if (!profile) {
|
if (!profile) {
|
||||||
// Default to using multiplication factors for Main profile.
|
// Default to using multiplication factors for Main profile.
|
||||||
profile = &h265_profiles[3];
|
profile = &h265_profiles[4];
|
||||||
}
|
}
|
||||||
|
|
||||||
pic_size = width * height;
|
pic_size = width * height;
|
||||||
|
|
Loading…
Reference in New Issue