From db8c1ce8e1e4a7d3f96fad7d36a281798f529453 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 20 Jul 2022 11:39:55 +0200 Subject: [PATCH] Fix protocol documentation in comments Flags were in the correct order in the schema, but their description were reversed. --- app/src/demuxer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/demuxer.c b/app/src/demuxer.c index 35ea4c06..9412eda7 100644 --- a/app/src/demuxer.c +++ b/app/src/demuxer.c @@ -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);