Skip to content

Commit

Permalink
Address formatting (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda authored Mar 15, 2024
1 parent 3a4d8f3 commit e683263
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/nal_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SmolRTSP_NalTransportConfig SmolRTSP_NalTransportConfig_default(void) {
return (SmolRTSP_NalTransportConfig){
.max_h264_nalu_size = SMOLRTSP_MAX_H264_NALU_SIZE,
.max_h265_nalu_size = SMOLRTSP_MAX_H265_NALU_SIZE,
.is_coded_slice = false;
.is_coded_slice = false,
};
}

Expand Down Expand Up @@ -88,8 +88,9 @@ int SmolRTSP_NalTransport_send_packet(
U8Slice99_new(header_buf, header_buf_size), nalu.payload);
}

return send_fragmentized_nal_data(self->transport, ts,
max_packet_size, nalu, self->config.is_coded_slice);
return send_fragmentized_nal_data(
self->transport, ts, max_packet_size, nalu,
self->config.is_coded_slice);
}

// See <https://tools.ietf.org/html/rfc6184#section-5.8> (H.264),
Expand Down

0 comments on commit e683263

Please sign in to comment.