st/va: fix indentation
authorChristian König <christian.koenig@amd.com>
Mon, 23 Nov 2015 14:01:46 +0000 (15:01 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 24 Nov 2015 14:31:48 +0000 (15:31 +0100)
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Julien Isorce <j.isorce@samsung.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/state_trackers/va/picture.c

index fc10bf4b398e1922bb4af6a6284efb79e9a1a5c3..5f703eb3eb63febff281292b3e594daee4483c21 100644 (file)
@@ -358,19 +358,19 @@ handleVASliceDataBufferType(vlVaContext *context, vlVaBuffer *buf)
    format = u_reduce_video_profile(context->decoder->profile);
    switch (format) {
    case PIPE_VIDEO_FORMAT_MPEG4_AVC:
-         if (bufHasStartcode(buf, 0x000001, 24))
-            break;
+      if (bufHasStartcode(buf, 0x000001, 24))
+         break;
 
-         buffers[num_buffers] = (void *const)&start_code_h264;
-         sizes[num_buffers++] = sizeof(start_code_h264);
+      buffers[num_buffers] = (void *const)&start_code_h264;
+      sizes[num_buffers++] = sizeof(start_code_h264);
       break;
    case PIPE_VIDEO_FORMAT_HEVC:
       if (bufHasStartcode(buf, 0x000001, 24))
          break;
 
-         buffers[num_buffers] = (void *const)&start_code_h265;
-         sizes[num_buffers++] = sizeof(start_code_h265);
-         break;
+      buffers[num_buffers] = (void *const)&start_code_h265;
+      sizes[num_buffers++] = sizeof(start_code_h265);
+      break;
    case PIPE_VIDEO_FORMAT_VC1:
       if (bufHasStartcode(buf, 0x0000010d, 32) ||
           bufHasStartcode(buf, 0x0000010c, 32) ||