[Mesa-dev] [PATCH 1/4] radeon/video: fix coding style in radeon_video.c

Christian König deathsimple at vodafone.de
Thu Jul 7 09:57:15 UTC 2016


From: Christian König <christian.koenig at amd.com>

Signed-off-by: Christian König <christian.koenig at amd.com>
---
 src/gallium/drivers/radeon/radeon_video.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c
index 5b29c78..69e4416 100644
--- a/src/gallium/drivers/radeon/radeon_video.c
+++ b/src/gallium/drivers/radeon/radeon_video.c
@@ -213,23 +213,23 @@ int rvid_get_video_param(struct pipe_screen *screen,
 			return codec == PIPE_VIDEO_FORMAT_MPEG4_AVC &&
 				rvce_is_fw_version_supported(rscreen);
 	        case PIPE_VIDEO_CAP_NPOT_TEXTURES:
-        	        return 1;
+		        return 1;
 	        case PIPE_VIDEO_CAP_MAX_WIDTH:
 			return (rscreen->family < CHIP_TONGA) ? 2048 : 4096;
 	        case PIPE_VIDEO_CAP_MAX_HEIGHT:
 			return (rscreen->family < CHIP_TONGA) ? 1152 : 2304;
 	        case PIPE_VIDEO_CAP_PREFERED_FORMAT:
-        	        return PIPE_FORMAT_NV12;
+		        return PIPE_FORMAT_NV12;
 	        case PIPE_VIDEO_CAP_PREFERS_INTERLACED:
-        	        return false;
+		        return false;
 	        case PIPE_VIDEO_CAP_SUPPORTS_INTERLACED:
-        	        return false;
+		        return false;
 	        case PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE:
-        	        return true;
+		        return true;
 	        case PIPE_VIDEO_CAP_STACKED_FRAMES:
 			return (rscreen->family < CHIP_TONGA) ? 1 : 2;
 	        default:
-        	        return 0;
+		        return 0;
 		}
 	}
 
-- 
2.5.0



More information about the mesa-dev mailing list