Fixed metadata FLV bug
This commit is contained in:
parent
a9df633e87
commit
88dfb7d535
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ bool FLV::Tag::DTSCMetaInit(DTSC::Stream & S, DTSC::Track & videoRef, DTSC::Trac
|
|||
|
||||
std::string tmp = amfdata.Pack();
|
||||
len = tmp.length() + 15;
|
||||
if (len <= 0 || checkBufferSize()){
|
||||
if (len <= 0 || !checkBufferSize()){
|
||||
return false;
|
||||
}
|
||||
memcpy(data + 11, tmp.c_str(), len - 15);
|
||||
|
|
Loading…
Add table
Reference in a new issue