On Fri, Sep 09, 2016 at 12:48:52PM -0700, Nikolas Bowe wrote: > Currently when using target_level with EAC3 it produces silence. This small > patch fixes target_level for decoding EAC3. > > Example: > ffmpeg -y -i /tmp/test.wav -acodec eac3 -dialnorm -14 -ac 6 -b:a 384000 > /tmp/test.m2ts > ffmpeg -y -target_level -24 -i /tmp/test.m2ts -acodec pcm_s16le -f matroska > /tmp/out.mkv > ffplay /tmp/out.mkv > --- > libavcodec/ac3.h | 2 +- > libavcodec/ac3dec.c | 9 ++++++--- > libavcodec/ac3dec.h | 4 ++++ > libavcodec/eac3dec.c | 14 +++++++++++--- > 4 files changed, 22 insertions(+), 7 deletions(-)
applied can you add a fate test for this ? also if you can reduce the number of #if, that would be welcome too Thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of inequality is to try to make unequal things equal. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel