Skip to content

Commit 621f99c

Browse files
committed
fixed the format
1 parent 1c95c38 commit 621f99c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ccextractor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ int start_ccx()
222222
ret = tmp;
223223
break;
224224
case CCX_SM_MP4:
225-
#ifdef USE_FFMPEG_MP4
225+
#ifdef USE_FFMPEG_MP4
226226
mprint("\rAnalyzing data with FFmpeg (libavformat)\n");
227227
#else
228228
mprint("\rAnalyzing data with GPAC (MP4 library)\n");

src/lib_ccx/mp4_ffmpeg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ static char *format_duration_ms(int64_t dur_ms, char *buf, size_t buf_size)
835835
uint32_t h = (uint32_t)(dur_ms / 3600000);
836836
uint32_t m = (uint32_t)(dur_ms / 60000) - h * 60;
837837
uint32_t s = (uint32_t)(dur_ms / 1000) - h * 3600 - m * 60;
838-
uint32_t ms = (uint32_t)(dur_ms) - h * 3600000 - m * 60000 - s * 1000;
838+
uint32_t ms = (uint32_t)(dur_ms)-h * 3600000 - m * 60000 - s * 1000;
839839
snprintf(buf, buf_size, "%02u:%02u:%02u.%03u", h, m, s, ms);
840840
return buf;
841841
}
@@ -936,12 +936,12 @@ int processmp4(struct lib_ccx_ctx *ctx, struct ccx_s_mp4Cfg *cfg, char *file)
936936
{
937937
case MP4_TRACK_AVC:
938938
streams[i].nal_unit_size = parse_nal_unit_size_avc(
939-
stream->codecpar->extradata, stream->codecpar->extradata_size);
939+
stream->codecpar->extradata, stream->codecpar->extradata_size);
940940
avc_track_count++;
941941
break;
942942
case MP4_TRACK_HEVC:
943943
streams[i].nal_unit_size = parse_nal_unit_size_hevc(
944-
stream->codecpar->extradata, stream->codecpar->extradata_size);
944+
stream->codecpar->extradata, stream->codecpar->extradata_size);
945945
hevc_track_count++;
946946
break;
947947
case MP4_TRACK_XDVB:

0 commit comments

Comments
 (0)