Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7266264 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Android Git Automerger
Browse files

am 56090472: Merge "Use standard initializers"

* commit '56090472':
  Use standard initializers
parents 8b334a71 56090472
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);