diff --git a/src/zm_ffmpeg_camera.cpp b/src/zm_ffmpeg_camera.cpp index 0592f8016..e511e9dd6 100644 --- a/src/zm_ffmpeg_camera.cpp +++ b/src/zm_ffmpeg_camera.cpp @@ -131,8 +131,8 @@ FfmpegCamera::FfmpegCamera( hwaccel_name(p_hwaccel_name), hwaccel_device(p_hwaccel_device) { - mMaskedPath = mask_authentication(mPath); - mMaskedSecondPath = mask_authentication(mSecondPath); + mMaskedPath = remove_authentication(mPath); + mMaskedSecondPath = remove_authentication(mSecondPath); if ( capture ) { FFMPEGInit(); }