Skip to content

Commit af933cb

Browse files
committed
Fixed cpp code formatting
1 parent ec0b682 commit af933cb

File tree

1 file changed

+2
-2
lines changed
  • torchvision/csrc/io/image/cpu

1 file changed

+2
-2
lines changed

torchvision/csrc/io/image/cpu/exif.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ inline int fetch_exif_orientation(j_decompress_ptr cinfo) {
122122
}
123123

124124
if (exif_marker) {
125-
126125
// Exif binary structure looks like this
127126
// First 6 bytes: [E, x, i, f, 0, 0]
128127
// Endianness, 2 bytes : [M, M] or [I, I]
129128
// Tag mark, 2 bytes: [0, 0x2a]
130129
// Offset, 4 bytes
131130
// Num entries, 2 bytes
132131
// Tag entries and data, tag has 2 bytes and its data has 10 bytes
133-
// For more details: http://www.media.mit.edu/pia/Research/deepview/exif.html
132+
// For more details:
133+
// http://www.media.mit.edu/pia/Research/deepview/exif.html
134134

135135
// Bytes from Exif size field to the first TIFF header
136136
constexpr size_t start_offset = 6;

0 commit comments

Comments
 (0)