Reduce switch/case indentation

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-07-11 15:32:52 +02:00
parent a9f3129298
commit 03fd51b3b3
4 changed files with 64 additions and 64 deletions
+9 -9
View File
@@ -51,16 +51,16 @@ VAStatus SunxiCedrusCreateBuffer(VADriverContextP context,
VABufferID id;
switch (type) {
case VAPictureParameterBufferType:
case VAIQMatrixBufferType:
case VASliceParameterBufferType:
case VASliceDataBufferType:
case VAImageBufferType:
break;
case VAPictureParameterBufferType:
case VAIQMatrixBufferType:
case VASliceParameterBufferType:
case VASliceDataBufferType:
case VAImageBufferType:
break;
default:
status = VA_STATUS_ERROR_UNSUPPORTED_BUFFERTYPE;
goto error;
default:
status = VA_STATUS_ERROR_UNSUPPORTED_BUFFERTYPE;
goto error;
}
id = object_heap_allocate(&driver_data->buffer_heap);