diff options
feat: Track consecutive frame index
1 files changed, 2 insertions, 0 deletions
| -rw-r--r-- | src/frame.h | 2 |
diff --git a/src/frame.h b/src/frame.h index c928edd..07ddab2 100644 --- a/src/frame.h +++ b/src/frame.h @@ -10,6 +10,7 @@ enum FrameType { class Frame { FrameType type; + unsigned char index; unsigned int size; unsigned int data_size; unsigned char* data; @@ -30,6 +31,7 @@ public: /* Getters */ FrameType get_type() const; + unsigned char get_index() const; unsigned int get_size() const; unsigned int get_data_size() const; const unsigned char* get_data() const; |
