libfdk-aacdec: Allow explicitly disabling the DRC reference level option
authorMartin Storsjö <martin@martin.st>
Tue, 4 Feb 2020 14:23:27 +0000 (16:23 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 11 Feb 2020 09:40:13 +0000 (11:40 +0200)
commite8cbdb9adbe5fff49f9fca8879ad8660801c007e
tree9508f6ae535f0e06b731b8d09bf8298e60fce9ab
parent5835adee248ff80e0c743fe454261ffa85f459a6
libfdk-aacdec: Allow explicitly disabling the DRC reference level option

Previously, it was always left in the automatic mode, if the option
was set to the only special (negative) value. Now there's two separate
special values for this option, -1 for automatic (metadata based)
and -2 for explicitly disabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/libfdk-aacdec.c
libavcodec/version.h