On Tue, Feb 04, 2014 at 08:07:17PM +0100, Tim Walker wrote: > --- a/libavcodec/ac3dec.c > +++ b/libavcodec/ac3dec.c > @@ -1478,6 +1480,36 @@ static int ac3_decode_frame(AVCodecContext * avctx, > void *data, > + if (s->lfe_mix_level_exists) > + downmix_info->lfe_mix_level = pow(10., (10 - > s->lfe_mix_level) / 20.); > + else > + downmix_info->lfe_mix_level = 0.; // -inf dB
Please add the trailing zeros; float numbers without fractional part confuse the heck out of me. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
