mirror of
https://github.com/Motion-Project/motion.git
synced 2025-12-23 23:18:21 -05:00
Remove excess semi-colon
This commit is contained in:
@@ -374,7 +374,7 @@ void cls_algsec::load_haar()
|
||||
method = "none";
|
||||
MOTPLS_LOG(ERR, TYPE_ALL, NO_ERRNO, _("Failed loading model %s")
|
||||
,model_file.c_str());
|
||||
};
|
||||
}
|
||||
} catch ( cv::Exception& e ) {
|
||||
const char* err_msg = e.what();
|
||||
MOTPLS_LOG(ERR, TYPE_ALL, NO_ERRNO, _("Error %s"),err_msg);
|
||||
|
||||
@@ -247,7 +247,7 @@ int cls_libcam::start_mgr()
|
||||
MOTPLS_LOG(ERR, TYPE_VIDEO, NO_ERRNO
|
||||
, "No camera devices found");
|
||||
return -1;
|
||||
};
|
||||
}
|
||||
camid = cam_mgr->cameras()[0]->id();
|
||||
} else {
|
||||
MOTPLS_LOG(ERR, TYPE_VIDEO, NO_ERRNO
|
||||
|
||||
@@ -853,33 +853,33 @@ void cls_movie::passthru_minpts()
|
||||
if ((netcam_data->pktarray[indx].packet->stream_index == indx_audio) &&
|
||||
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE)) {
|
||||
pass_audio_base = netcam_data->pktarray[indx].packet->pts;
|
||||
};
|
||||
}
|
||||
if ((netcam_data->pktarray[indx].packet->stream_index == indx_video) &&
|
||||
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE)) {
|
||||
pass_video_base = netcam_data->pktarray[indx].packet->pts;
|
||||
};
|
||||
}
|
||||
}
|
||||
for (indx = 0; indx < netcam_data->pktarray_size; indx++) {
|
||||
if ((netcam_data->pktarray[indx].packet->stream_index == indx_audio) &&
|
||||
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE) &&
|
||||
(netcam_data->pktarray[indx].packet->pts < pass_audio_base)) {
|
||||
pass_audio_base = netcam_data->pktarray[indx].packet->pts;
|
||||
};
|
||||
}
|
||||
if ((netcam_data->pktarray[indx].packet->stream_index == indx_audio) &&
|
||||
(netcam_data->pktarray[indx].packet->dts != AV_NOPTS_VALUE) &&
|
||||
(netcam_data->pktarray[indx].packet->dts < pass_audio_base)) {
|
||||
pass_audio_base = netcam_data->pktarray[indx].packet->dts;
|
||||
};
|
||||
}
|
||||
if ((netcam_data->pktarray[indx].packet->stream_index == indx_video) &&
|
||||
(netcam_data->pktarray[indx].packet->pts != AV_NOPTS_VALUE) &&
|
||||
(netcam_data->pktarray[indx].packet->pts < pass_video_base)) {
|
||||
pass_video_base = netcam_data->pktarray[indx].packet->pts;
|
||||
};
|
||||
}
|
||||
if ((netcam_data->pktarray[indx].packet->stream_index == indx_video) &&
|
||||
(netcam_data->pktarray[indx].packet->dts != AV_NOPTS_VALUE) &&
|
||||
(netcam_data->pktarray[indx].packet->dts < pass_video_base)) {
|
||||
pass_video_base = netcam_data->pktarray[indx].packet->dts;
|
||||
};
|
||||
}
|
||||
}
|
||||
pthread_mutex_unlock(&netcam_data->mutex_pktarray);
|
||||
|
||||
@@ -1668,7 +1668,7 @@ void cls_movie::start()
|
||||
{
|
||||
if (is_running == true) {
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
if (movie_type == "norm") {
|
||||
start_norm();
|
||||
|
||||
@@ -604,7 +604,7 @@ AVPacket *mypacket_alloc(AVPacket *pkt)
|
||||
{
|
||||
if (pkt != NULL) {
|
||||
av_packet_free(&pkt);
|
||||
};
|
||||
}
|
||||
pkt = av_packet_alloc();
|
||||
#if (MYFFVER < 58076)
|
||||
av_init_packet(pkt);
|
||||
|
||||
Reference in New Issue
Block a user