From 8bd4efe5c7891fc428d56690dfd11aece7734d0e Mon Sep 17 00:00:00 2001 From: Rodeo Date: Tue, 21 Feb 2012 23:56:12 +0000 Subject: 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 --- libhb/encvorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/encvorbis.c') 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, -- cgit v1.2.3