diff options
author | Rodeo <[email protected]> | 2012-02-21 23:56:12 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-02-21 23:56:12 +0000 |
commit | 8bd4efe5c7891fc428d56690dfd11aece7734d0e (patch) | |
tree | 396f9e2b342ff01b629d3623cf0da7b5f9658b43 /libhb/encvorbis.c | |
parent | 2599def15a4b622c9f0e6d354dd9c0ad90531d6c (diff) |
Add HB_INVALID_AUDIO_QUALITY define. -1 is valid for Vorbis VBR and thus doesn't work for this purpose.
Fixes Vorbis VBR with --aq < 0
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4461 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encvorbis.c')
-rw-r--r-- | libhb/encvorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encvorbis.c b/libhb/encvorbis.c index bbbc19785..cb38351cd 100644 --- a/libhb/encvorbis.c +++ b/libhb/encvorbis.c @@ -85,7 +85,7 @@ int encvorbisInit( hb_work_object_t * w, hb_job_t * job ) return -1; } } - else if( audio->config.out.quality != -1 ) + else if( audio->config.out.quality != HB_INVALID_AUDIO_QUALITY ) { // map VBR quality to Vorbis API (divide by 10) if( vorbis_encode_setup_vbr( &pv->vi, pv->out_discrete_channels, |