Skip to content

Commit 726b0cb

Browse files
committed
Fix clang-format
1 parent 518ee93 commit 726b0cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchvision/csrc/io/image/cpu/encode_jpeg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ torch::Tensor encode_jpeg(const torch::Tensor& data, int64_t quality) {
2828
C10_LOG_API_USAGE_ONCE(
2929
"torchvision.csrc.io.image.cpu.encode_jpeg.encode_jpeg");
3030
// Define compression structures and error handling
31-
struct jpeg_compress_struct cinfo {};
32-
struct torch_jpeg_error_mgr jerr {};
31+
struct jpeg_compress_struct cinfo{};
32+
struct torch_jpeg_error_mgr jerr{};
3333

3434
// Define buffer to write JPEG information to and its size
3535
JpegSizeType jpegSize = 0;

0 commit comments

Comments
 (0)