Skip to content

Commit

Permalink
const segment_length
Browse files Browse the repository at this point in the history
  • Loading branch information
D1n03 committed Jul 22, 2024
1 parent cae5c17 commit aa912d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GenericPlugins/Dropper/src/Multimedia/JPG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ bool JPG::Check(uint64 offset, DataCache& file, BufferView precachedBuffer, Find
break;
}
else if ((marker & 0xFF00) == 0xFF00) {
auto segment_length = Endian::BigToNative(*reinterpret_cast<const uint16*>(buffer.GetData() + sizeof(uint16)));
const auto segment_length = Endian::BigToNative(*reinterpret_cast<const uint16*>(buffer.GetData() + sizeof(uint16)));
pos += segment_length;
} else {
break;
Expand Down

0 comments on commit aa912d3

Please sign in to comment.