mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-07 19:57:43 +02:00
Fix crash when feeding invalid ranges into flac
This commit is contained in:
parent
1725cffc6e
commit
5d7aedeb31
5 changed files with 38 additions and 12 deletions
|
@ -178,6 +178,8 @@ void OggEncoder::initEncoder()
|
|||
throw SnapException("compression level has to be between -0.1 and 1.0");
|
||||
}
|
||||
|
||||
LOG(INFO, LOG_TAG) << "Init - quality: " << quality << "\n";
|
||||
|
||||
/********** Encode setup ************/
|
||||
vorbis_info_init(&vi_);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue