Skip to content

Commit

Permalink
Fix clang code style check (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdr428 authored May 3, 2024
1 parent 07acd68 commit c96a231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsMuxer/matroskaDemuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ int MatroskaDemuxer::matroska_parse_block(uint8_t *data, int size, const int64_t
case 0x3: /* EBML lacing */
{
n = matroska_ebmlnum_uint(data, size, &num);
if (n < 0 || n >= laces)
if (n < 0 || n >= laces)
{
LTRACE(LT_INFO, 0, "EBML block data error");
break;
Expand Down Expand Up @@ -2424,7 +2424,7 @@ int MatroskaDemuxer::getTrackType(const MatroskaTrack *track)
{
if (track->codec_id == nullptr)
return 0;

if (!strcmp(track->codec_id, MATROSKA_CODEC_ID_SRT))
return TRACKTYPE_SRT;
if (!strcmp(track->codec_id, MATROSKA_CODEC_ID_AUDIO_PCM_BIG))
Expand Down

0 comments on commit c96a231

Please sign in to comment.