Skip to content

Commit

Permalink
Fix protocol documentation in comments
Browse files Browse the repository at this point in the history
Flags were in the correct order in the schema, but their description
were reversed.
  • Loading branch information
rom1v committed Jul 20, 2022
1 parent 4aeb78e commit db8c1ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/demuxer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit db8c1ce

Please sign in to comment.