Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 166e16d

Browse files
committed
Remove excess semi-colon
1 parent 56c6599 commit 166e16d

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/alg_sec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ void cls_algsec::load_haar()
374374
method = "none";
375375
MOTPLS_LOG(ERR, TYPE_ALL, NO_ERRNO, _("Failed loading model %s")
376376
,model_file.c_str());
377-
};
377+
}
378378
} catch ( cv::Exception& e ) {
379379
const char* err_msg = e.what();
380380
MOTPLS_LOG(ERR, TYPE_ALL, NO_ERRNO, _("Error %s"),err_msg);

src/libcam.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ int cls_libcam::start_mgr()
247247
MOTPLS_LOG(ERR, TYPE_VIDEO, NO_ERRNO
248248
, "No camera devices found");
249249
return -1;
250-
};
250+
}
251251
camid = cam_mgr->cameras()[0]->id();
252252
} else {
253253
MOTPLS_LOG(ERR, TYPE_VIDEO, NO_ERRNO

src/movie.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -853,33 +853,33 @@ void cls_movie::passthru_minpts()
853853
if ((netcam_data->pktarray[indx].packet->stream_index == indx_audio) &&
854854
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE)) {
855855
pass_audio_base = netcam_data->pktarray[indx].packet->pts;
856-
};
856+
}
857857
if ((netcam_data->pktarray[indx].packet->stream_index == indx_video) &&
858858
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE)) {
859859
pass_video_base = netcam_data->pktarray[indx].packet->pts;
860-
};
860+
}
861861
}
862862
for (indx = 0; indx < netcam_data->pktarray_size; indx++) {
863863
if ((netcam_data->pktarray[indx].packet->stream_index == indx_audio) &&
864864
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE) &&
865865
(netcam_data->pktarray[indx].packet->pts < pass_audio_base)) {
866866
pass_audio_base = netcam_data->pktarray[indx].packet->pts;
867-
};
867+
}
868868
if ((netcam_data->pktarray[indx].packet->stream_index == indx_audio) &&
869869
(netcam_data->pktarray[indx].packet->dts != AV_NOPTS_VALUE) &&
870870
(netcam_data->pktarray[indx].packet->dts < pass_audio_base)) {
871871
pass_audio_base = netcam_data->pktarray[indx].packet->dts;
872-
};
872+
}
873873
if ((netcam_data->pktarray[indx].packet->stream_index == indx_video) &&
874874
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE) &&
875875
(netcam_data->pktarray[indx].packet->pts < pass_video_base)) {
876876
pass_video_base = netcam_data->pktarray[indx].packet->pts;
877-
};
877+
}
878878
if ((netcam_data->pktarray[indx].packet->stream_index == indx_video) &&
879879
(netcam_data->pktarray[indx].packet->dts != AV_NOPTS_VALUE) &&
880880
(netcam_data->pktarray[indx].packet->dts < pass_video_base)) {
881881
pass_video_base = netcam_data->pktarray[indx].packet->dts;
882-
};
882+
}
883883
}
884884
pthread_mutex_unlock(&netcam_data->mutex_pktarray);
885885

@@ -1668,7 +1668,7 @@ void cls_movie::start()
16681668
{
16691669
if (is_running == true) {
16701670
return;
1671-
};
1671+
}
16721672

16731673
if (movie_type == "norm") {
16741674
start_norm();

src/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ AVPacket *mypacket_alloc(AVPacket *pkt)
604604
{
605605
if (pkt != NULL) {
606606
av_packet_free(&pkt);
607-
};
607+
}
608608
pkt = av_packet_alloc();
609609
#if (MYFFVER < 58076)
610610
av_init_packet(pkt);

0 commit comments

Comments
 (0)