summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp')
-rw-r--r--core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp b/core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp
index 4139fbde3b..cebd16cfe2 100644
--- a/core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp
+++ b/core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp
@@ -6,7 +6,7 @@
#include <limits>
-#include "codec_int.h"
+#include "core/src/fxcodec/codec/codec_int.h"
#include "testing/fx_string_testhelpers.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -496,14 +496,8 @@ TEST(fxcodec, YUV420ToRGB) {
const struct {
OPJ_UINT32 w;
bool expected;
- } cases[] = {{0, false},
- {1, false},
- {30, false},
- {31, true},
- {32, true},
- {33, true},
- {34, false},
- {UINT_MAX, false}};
+ } cases[] = {{0, false}, {1, false}, {30, false}, {31, true},
+ {32, true}, {33, false}, {34, false}, {UINT_MAX, false}};
for (int i = 0; i < sizeof(cases) / sizeof(cases[0]); ++i) {
y.w = cases[i].w;
y.h = y.w;