Do not consider rewinded the first time block 0 is written.

This commit is contained in:
2025-10-20 01:13:14 +01:00
parent d6ea7db911
commit 94e44ef304
2 changed files with 35 additions and 24 deletions

View File

@@ -292,6 +292,7 @@ typedef struct aaruformat_context
bool is_writing; ///< True if context opened/created for writing.
bool rewinded; ///< True if stream has been rewound after open (write path).
bool writing_long; ///< True if writing long sectors
bool block_zero_written; ///< True if block zero has been written (writing path).
/* Options */
uint32_t lzma_dict_size; ///< LZMA dictionary size (writing path).