2019-06-19 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression that caused a compilation error when
	M4A decoding support was enabled.
This commit is contained in:
Fred Gleason 2019-06-19 17:58:54 -04:00
parent 2a6254e035
commit 5b2a76ade9
2 changed files with 4 additions and 1 deletions

View File

@ -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 <fredg@paravelsystems.com>
* Fixed a regression that caused a compilation error when
M4A decoding support was enabled.

View File

@ -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;
}