Browse Source

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>
tags/n4.3
Linjie Fu Mark Thompson 6 years ago
parent
commit
f0287e120a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h265_profile_level.c

+ 1
- 1
libavcodec/h265_profile_level.c 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;


Loading…
Cancel
Save