am 56090472: Merge "Use standard initializers"

* commit '56090472230dc56acc203589f3efcb65579fb54d':
  Use standard initializers
This commit is contained in:
Chih-hung Hsieh
2014-11-18 18:13:04 +00:00
committed by Android Git Automerger

View File

@@ -312,8 +312,8 @@ static status_t produceFrame(const sp<ANativeWindow>& anw,
case HAL_PIXEL_FORMAT_BLOB: {
int8_t* img = NULL;
struct camera3_jpeg_blob footer = {
jpeg_blob_id: CAMERA3_JPEG_BLOB_ID,
jpeg_size: (uint32_t)bufferLength
.jpeg_blob_id = CAMERA3_JPEG_BLOB_ID,
.jpeg_size = (uint32_t)bufferLength
};
size_t totalJpegSize = bufferLength + sizeof(footer);