Tag Parser 12.1.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Loading...
Searching...
No Matches
ivfframe.cpp
Go to the documentation of this file.
1#include "./ivfframe.h"
2
3#include "../exceptions.h"
4
5#include <c++utilities/io/binaryreader.h>
6
7using namespace std;
8using namespace CppUtilities;
9
10namespace TagParser {
11
21void IvfFrame::parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag)
22{
23 CPP_UTILITIES_UNUSED(diag)
24 startOffset = static_cast<std::uint64_t>(reader.stream()->tellg());
25 size = reader.readUInt32BE();
26 timestamp = reader.readUInt64BE();
27}
28
29} // namespace TagParser
The Diagnostics class is a container for DiagMessage.
void parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag)
Parses the header read using the specified reader.
Definition ivfframe.cpp:21
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10