diff options
author | Leo Liu <leo.liu@amd.com> | 2017-08-23 09:53:10 -0400 |
---|---|---|
committer | Leo Liu <leo.liu@amd.com> | 2017-08-23 10:51:14 -0400 |
commit | 89f75c948385f6f2a2def685f638b9e227550e3a (patch) | |
tree | 297e9c16fd1a34e916a0b05fcf6ee0b17a69489d | |
parent | 9649c6accedf091e294efe724fd3103aba1ca0f0 (diff) |
radeon/video: Return false explicitly for HEVC if not the case
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
-rw-r--r-- | src/gallium/drivers/radeon/radeon_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c index 7c2553364e..99b6676fee 100644 --- a/src/gallium/drivers/radeon/radeon_video.c +++ b/src/gallium/drivers/radeon/radeon_video.c @@ -280,6 +280,7 @@ int rvid_get_video_param(struct pipe_screen *screen, profile == PIPE_VIDEO_PROFILE_HEVC_MAIN_10); else if (rscreen->family >= CHIP_CARRIZO) return profile == PIPE_VIDEO_PROFILE_HEVC_MAIN; + return false; case PIPE_VIDEO_FORMAT_JPEG: if (rscreen->family < CHIP_CARRIZO || rscreen->family >= CHIP_VEGA10) return false; |