AVCCBox.multiplyPPS(), allow for multiple SPS/PPS in AVCC Box

This commit is contained in:
Erik Zandvliet 2018-08-30 18:36:14 +02:00 committed by Thulinma
parent b8c932ad1c
commit 493e5bebfa
7 changed files with 40 additions and 13 deletions

View file

@ -54,7 +54,7 @@ namespace Utils {
~bitWriter();
size_t size();
void append(uint64_t value, size_t bitLength);
void appendExpGolomb(uint64_t value);
void appendExpGolomb(int64_t value);
void appendUExpGolomb(uint64_t value);
static size_t UExpGolombEncodedSize(uint64_t value);
std::string str() { return std::string(dataBuffer, (dataSize / 8) + (dataSize % 8 ? 1 : 0)); }