[FFmpeg-cvslog] lavc/h265_profile_level: Fix the default profile in ff_h265_guess_level

Linjie Fu git at videolan.org
Sat Feb 1 15:58:27 EET 2020


ffmpeg | branch: master | Linjie Fu <linjie.fu at intel.com> | Wed Jan 15 14:54:43 2020 +0800| [f0287e120a1a3eb6a1ccd8aca0b980f567a62d72] | committer: Mark Thompson

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 at intel.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f0287e120a1a3eb6a1ccd8aca0b980f567a62d72
---

 libavcodec/h265_profile_level.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list