summaryrefslogtreecommitdiff
path: root/src/android/jpeg
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2020-10-20 18:15:01 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-20 13:15:49 +0300
commit6c5792f7a8b29143fb55cea2ecfcd8598ce56cd9 (patch)
tree83b87d9d35b5ec8ddd20f7f20541fe23bde6743e /src/android/jpeg
parentda0dd36149eaebd76251a2866603da3753909ff3 (diff)
android: Omit extra semicolons
The end semicolons with LOG_DECLARE_CATEGORY and LOG_DEFINE_CATEGORY are unnecessary. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg')
-rw-r--r--src/android/jpeg/encoder.h2
-rw-r--r--src/android/jpeg/encoder_libjpeg.cpp2
-rw-r--r--src/android/jpeg/post_processor_jpeg.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/android/jpeg/encoder.h b/src/android/jpeg/encoder.h
index 4483153e..4e859961 100644
--- a/src/android/jpeg/encoder.h
+++ b/src/android/jpeg/encoder.h
@@ -14,7 +14,7 @@
class Encoder
{
public:
- virtual ~Encoder() {};
+ virtual ~Encoder() {}
virtual int configure(const libcamera::StreamConfiguration &cfg) = 0;
virtual int encode(const libcamera::FrameBuffer *source,
diff --git a/src/android/jpeg/encoder_libjpeg.cpp b/src/android/jpeg/encoder_libjpeg.cpp
index 8995ba55..f11e0043 100644
--- a/src/android/jpeg/encoder_libjpeg.cpp
+++ b/src/android/jpeg/encoder_libjpeg.cpp
@@ -25,7 +25,7 @@
using namespace libcamera;
-LOG_DECLARE_CATEGORY(JPEG);
+LOG_DECLARE_CATEGORY(JPEG)
namespace {
diff --git a/src/android/jpeg/post_processor_jpeg.cpp b/src/android/jpeg/post_processor_jpeg.cpp
index 753c28e5..9d452b74 100644
--- a/src/android/jpeg/post_processor_jpeg.cpp
+++ b/src/android/jpeg/post_processor_jpeg.cpp
@@ -18,7 +18,7 @@
using namespace libcamera;
-LOG_DEFINE_CATEGORY(JPEG);
+LOG_DEFINE_CATEGORY(JPEG)
PostProcessorJpeg::PostProcessorJpeg(CameraDevice *device)
: cameraDevice_(device)