| 253 | |
| 254 | |
| 255 | void Swf::UpdateTagLength(uint8_t *tag_content, size_t header_length, size_t new_length) |
| 256 | { |
| 257 | if (header_length == 6) |
| 258 | { |
| 259 | *(uint32_t *)(tag_content - 4) = new_length; |
| 260 | } |
| 261 | else |
| 262 | { |
| 263 | *(tag_content - 2) += (new_length & 0x3F) - (*(tag_content - 2) & 0x3F); |
| 264 | } |
| 265 | } |
nothing calls this directly
no outgoing calls
no test coverage detected