Skip to content

Commit

Permalink
Merge branch 'ni_quadra' of github.com:ZoneMinder/zoneminder into ni_…
Browse files Browse the repository at this point in the history
…quadra
  • Loading branch information
Isaac Connor committed Jan 30, 2025
2 parents 8b233a0 + b96dc1d commit 03c0960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/zm_ffmpeg_camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ int FfmpegCamera::OpenFfmpeg() {
if (ret < 0) {
Warning("Could not parse ffmpeg input options '%s'", mOptions.c_str());
}
av_dict_set(&opts, "xcoder-params", nullptr, AV_DICT_MATCH_CASE);
}

// Set transport method as specified by method field, rtpUni is default
Expand Down
3 changes: 1 addition & 2 deletions src/zm_remote_camera_rtsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ RemoteCameraRtsp::RemoteCameraRtsp(
RemoteCameraRtsp::~RemoteCameraRtsp() {

if ( mVideoCodecContext ) {
avcodec_close(mVideoCodecContext);
mVideoCodecContext = nullptr; // Freed by avformat_free_context in the destructor of RtspThread class
avcodec_free_context(&mVideoCodecContext);
}
// Is allocated in RTSPThread and is free there as well
mFormatContext = nullptr;
Expand Down

0 comments on commit 03c0960

Please sign in to comment.