This commit is contained in:
Isaac Connor 2019-08-28 12:20:03 -04:00
parent bd3395ac98
commit c80ef0e0ab
2 changed files with 3 additions and 3 deletions

View File

@ -510,7 +510,7 @@ int zm_receive_frame(AVCodecContext *context, AVFrame *frame, AVPacket &packet)
int zm_send_frame(AVCodecContext *ctx, AVFrame *frame, AVPacket &packet) {
int ret;
#if LIBAVCODEC_VERSION_CHECK(57, 64, 0, 64, 0)
#if LIBAVCODEC_VERSION_CHECK(57, 64, 0, 64, 0)
if ( (ret = avcodec_send_frame(ctx, frame)) < 0 ) {
Error("Could not send frame (error '%s')",
av_make_error_string(ret).c_str());

View File

@ -188,7 +188,7 @@ function getAuthUser($auth) {
if ( $auth == $authHash ) {
return $user;
} // en dif $auth == $authHash
} // end if $auth == $authHash
} // end foreach hour
} // end foreach user
} // end if using auth hash
@ -265,7 +265,7 @@ if ( ZM_OPT_USE_AUTH ) {
$user = dbFetchOne($sql, NULL, array($_SESSION['username']));
}
} else {
ZM\Logger::Debug("No username in session");
ZM\Logger::Debug('No username in session');
}
if ( ZM_AUTH_HASH_LOGINS && empty($user) && !empty($_REQUEST['auth']) ) {