diff options
author | jbrjake <[email protected]> | 2007-12-13 15:24:42 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-12-13 15:24:42 +0000 |
commit | c2bc8475b1fdd56a83c94ceaba9d41c427755be3 (patch) | |
tree | 2d01c4950ebe20679d12eacb70d7846eae42b3d2 /libhb | |
parent | 8f302a693a498c4f28754f32452023681ca126d1 (diff) |
Only call the dynamic range compression function when the user-inputted value is greater than 1, rather than non-zero. This prevents calling the function when it's only going to return the default values anyway.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1124 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/deca52.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/deca52.c b/libhb/deca52.c index 0ebed24bc..116ec7698 100644 --- a/libhb/deca52.c +++ b/libhb/deca52.c @@ -228,7 +228,7 @@ static hb_buffer_t * Decode( hb_work_object_t * w ) /* Feed liba52 */ a52_frame( pv->state, pv->frame, &pv->flags_out, &pv->level, 0 ); - if ( pv->dynamic_range_compression ) + if ( pv->dynamic_range_compression > 1.0 ) { a52_dynrng( pv->state, dynrng_call, &pv->dynamic_range_compression); } |