[FFmpeg-devel] [PATCH] avcodec/aac_fixed: Fix a bug in spectral_to_sample()

Michael Niedermayer michael at niedermayer.cc
Tue Jul 28 20:36:14 CEST 2015

On Tue, Jul 28, 2015 at 05:40:23PM +0200, Nedeljko Babic wrote:
> From: Nedeljko Babic <nedeljko.babic at rt-rk.com>
> There was fixed number of loops (2048) in preparation for resampler, so
> when number of samples is smaller than this, there would be an overflow on
> ret_buf.
> For some reason this behavior popped out only under valgrind with
> --disable-memory-poisoning option.
> This is now fixed and number of loops depends on actual number of samples.
> Signed-off-by: Nedeljko Babic <nedeljko.babic at rt-rk.com>
> ---
>  libavcodec/aacdec_template.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150728/d37b3e0c/attachment.sig>

More information about the ffmpeg-devel mailing list