Added FLV::seekToTagType function for fast FLV seeking, now used in MistInFLV

This commit is contained in:
Thulinma 2017-03-02 17:26:39 +01:00
parent bea605fd18
commit 0ea100758d
3 changed files with 50 additions and 0 deletions

View file

@ -24,6 +24,9 @@ namespace FLV {
bool check_header(char * header); ///< Checks a FLV Header for validness.
bool is_header(char * header); ///< Checks the first 3 bytes for the string "FLV".
/// Helper function that can quickly skip through a file looking for a particular tag type
bool seekToTagType(FILE * f, uint8_t type);
/// This class is used to hold, work with and get information about a single FLV tag.
class Tag {
public: