Ah yes, bug from 2018, a great vintage.
This commit is contained in:
parent
44c879286a
commit
cc9aae7926
1 changed files with 2 additions and 2 deletions
|
@ -453,10 +453,10 @@ bool RTMPStream::Chunk::Parse(Socket::Buffer &buffer){
|
|||
return false;
|
||||
}// can't read timestamp
|
||||
indata = buffer.copy(i + 4);
|
||||
timestamp += indata[i++] * 256 * 256 * 256;
|
||||
timestamp = indata[i++] * 256 * 256 * 256;
|
||||
timestamp += indata[i++] * 256 * 256;
|
||||
timestamp += indata[i++] * 256;
|
||||
timestamp = indata[i++];
|
||||
timestamp += indata[i++];
|
||||
ts_delta = timestamp;
|
||||
DONTEVEN_MSG("Extended timestamp: %" PRIu64, timestamp);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue