Working HLS video (not audio) for bipbop video
This commit is contained in:
parent
942c7d69ba
commit
cddf0192f6
4 changed files with 19 additions and 4 deletions
|
@ -2055,6 +2055,7 @@ namespace MP4 {
|
|||
|
||||
void AVCC::setPayload(std::string newPayload){
|
||||
if ( !reserve(0, payloadSize(), newPayload.size())){
|
||||
std::cerr << "Cannot allocate enough memory for payload" << std::endl;
|
||||
return;
|
||||
}
|
||||
memcpy((char*)payload(), (char*)newPayload.c_str(), newPayload.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue