From 89f75c948385f6f2a2def685f638b9e227550e3a Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Wed, 23 Aug 2017 09:53:10 -0400 Subject: radeon/video: Return false explicitly for HEVC if not the case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Leo Liu Reviewed-by: Christian König Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/radeon_video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/radeon') diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c index 7c2553364ee..99b6676fee1 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; -- cgit v1.2.3