Fix DTSC tools compiling
This commit is contained in:
parent
68e4697a29
commit
53c6d582ba
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ bool FLV::Tag::DTSCLoader(DTSC::Stream & S){
|
||||||
/// Helper function that properly sets the tag length from the internal len variable.
|
/// Helper function that properly sets the tag length from the internal len variable.
|
||||||
void FLV::Tag::setLen(){
|
void FLV::Tag::setLen(){
|
||||||
int len4 = len - 4;
|
int len4 = len - 4;
|
||||||
int i = data+len-1;
|
int i = len-1;
|
||||||
data[--i] = (len4) & 0xFF;
|
data[--i] = (len4) & 0xFF;
|
||||||
len4 >>= 8;
|
len4 >>= 8;
|
||||||
data[--i] = (len4) & 0xFF;
|
data[--i] = (len4) & 0xFF;
|
||||||
|
|
Loading…
Add table
Reference in a new issue