mirror of
https://github.com/Genymobile/scrcpy
synced 2025-01-20 15:00:46 +00:00
Fix protocol documentation in comments
Flags were in the correct order in the schema, but their description were reversed.
This commit is contained in:
parent
4aeb78ece2
commit
db8c1ce8e1
@ -37,8 +37,8 @@ sc_demuxer_recv_packet(struct sc_demuxer *demuxer, AVPacket *packet) {
|
||||
// CK...... ........ ........ ........ ........ ........ ........ ........
|
||||
// ^^<------------------------------------------------------------------->
|
||||
// || PTS
|
||||
// | `- config packet
|
||||
// `-- key frame
|
||||
// | `- key frame
|
||||
// `-- config packet
|
||||
|
||||
uint8_t header[SC_PACKET_HEADER_SIZE];
|
||||
ssize_t r = net_recv_all(demuxer->socket, header, SC_PACKET_HEADER_SIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user