Skip to content

Commit 9fc13c7

Browse files
committed
fix decoding empty flags for frameStepTimeMillis value (v2.1.0)
1 parent be05b7e commit 9fc13c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tinyfseq.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
/**
2525
* libtinyfseq
26-
* v2.0.0
26+
* v2.1.0
2727
* https://github.com/Cryptkeeper/libtinyfseq
2828
*
2929
* Prior to including `tinyfseq.h`, two definition based options are available:
@@ -41,7 +41,7 @@
4141

4242
#include <stdint.h>
4343

44-
#define TINYFSEQ_VERSION "2.0.0"
44+
#define TINYFSEQ_VERSION "2.1.0"
4545

4646
enum tf_err_t {
4747
TF_OK = 0,
@@ -209,7 +209,7 @@ enum tf_err_t tf_read_file_header(const uint8_t *bd, int bs, struct tf_file_head
209209
header->variableDataOffset = ((uint16_t *) &bd[8])[0];
210210
header->channelCount = ((uint32_t *) &bd[10])[0];
211211
header->frameCount = ((uint32_t *) &bd[14])[0];
212-
header->frameStepTimeMillis = bd[19];
212+
header->frameStepTimeMillis = bd[18];
213213

214214
// upper 4 bits contain additional compression block count data that is ignored by tinyfseq
215215
// mask to lower 4 bits to filter only the compression type field

0 commit comments

Comments
 (0)