Fix DTSC tools compiling

This commit is contained in:
Thulinma 2011-12-05 15:35:10 +01:00
parent 68e4697a29
commit 53c6d582ba

View file

@ -336,7 +336,7 @@ bool FLV::Tag::DTSCLoader(DTSC::Stream & S){
/// Helper function that properly sets the tag length from the internal len variable.
void FLV::Tag::setLen(){
int len4 = len - 4;
int i = data+len-1;
int i = len-1;
data[--i] = (len4) & 0xFF;
len4 >>= 8;
data[--i] = (len4) & 0xFF;