diff options
author | Damiano Galassi <[email protected]> | 2019-09-23 12:23:12 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-09-23 12:23:12 +0200 |
commit | 10c787e5b4f19abd30272444d09ca6b7b7f6a84a (patch) | |
tree | 36968a0e81661a0efec0e2e5ede3aaf84076df73 /macosx | |
parent | 92a56fc25413ed4fc3905ada4b4712367ee43500 (diff) |
MacGui: fix HBAudioTrackPreset validation when the encoder is set to flac.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBAudioTrackPreset.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m index 94542de7e..2478c39fc 100644 --- a/macosx/HBAudioTrackPreset.m +++ b/macosx/HBAudioTrackPreset.m @@ -444,7 +444,7 @@ decodeInt(_fallbackEncoder); if (_fallbackEncoder < 0) { goto fail; } decodeInt(_mixdown); if (_mixdown < 0) { goto fail; } decodeInt(_sampleRate); if (_sampleRate < 0) { goto fail; } - decodeInt(_bitRate); if (_bitRate < 0) { goto fail; } + decodeInt(_bitRate); if (_bitRate < -1) { goto fail; } decodeDouble(_gain); decodeDouble(_drc); |