From 5b2a76ade93d1154c1473ae576a1f881a769fcf8 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 19 Jun 2019 17:58:54 -0400 Subject: [PATCH] 2019-06-19 Fred Gleason * Fixed a regression that caused a compilation error when M4A decoding support was enabled. --- ChangeLog | 3 +++ lib/rdaudioconvert.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 42d42657..29216922 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18784,3 +18784,6 @@ * Added an 'RDDbConfig' chapter to the Operations Guide. * Removed the 'Backing Up and Restoring the Database' section from the 'RDAdmin' chapter of the Operations Guide. +2019-06-19 Fred Gleason + * Fixed a regression that caused a compilation error when + M4A decoding support was enabled. diff --git a/lib/rdaudioconvert.cpp b/lib/rdaudioconvert.cpp index beb4bf7f..5a634b78 100644 --- a/lib/rdaudioconvert.cpp +++ b/lib/rdaudioconvert.cpp @@ -828,7 +828,7 @@ RDAudioConvert::ErrorCode RDAudioConvert::Stage1M4A(const QString &dstfile, UpdatePeak((const float*)sample_buffer, frameInfo.samples); if(sf_write_float(sf_dst, (const float*)sample_buffer, frameInfo.samples) != (sf_count_t)frameInfo.samples) { - rda->log(RDConfig::LogWarning,QString().sprintf("%s",sf_strerror(sf_dst))); + syslog(LOG_WARNING,"%s",sf_strerror(sf_dst)); ret = RDAudioConvert::ErrorInternal; break; }