libhwjpeg: fix jpeg encoder compilation
authorDanny Wood <danwood76@gmail.com>
Wed, 8 Apr 2020 16:08:38 +0000 (17:08 +0100)
committerDanny Wood <danwood76@gmail.com>
Wed, 8 Apr 2020 16:08:38 +0000 (17:08 +0100)
Change-Id: Id78277a73a433cfbdbd6b6f26d264ee3a09f9ea8

libhwjpeg/ExynosJpegEncoderForCamera.cpp

index 3bdcb0558781b0192bc02e809b2a59155d16457d..9da34c144f8094929acb8bda3866a7cec18a7e46 100644 (file)
@@ -715,6 +715,7 @@ size_t ExynosJpegEncoderForCamera::CompressThumbnailOnly(size_t limit, int quali
         case V4L2_PIX_FMT_YUV420M:
         case V4L2_PIX_FMT_YVU420M:
             num_buffers++;
+            [[fallthrough]];
         case V4L2_PIX_FMT_NV12M:
         case V4L2_PIX_FMT_NV21M:
             num_buffers++;