OSDN Git Service

aacsbr: prevent out of bounds memcpy().
authorAlex Converse <alex.converse@gmail.com>
Tue, 10 Jan 2012 21:07:09 +0000 (13:07 -0800)
committerAlex Converse <alex.converse@gmail.com>
Tue, 10 Jan 2012 21:13:34 +0000 (13:13 -0800)
commit17ce52912f59a74ecc265e062578fb1181456e18
treeba507744c514736ed3d980e63a79498b799ca339
parent4556ebfb7d13f08eb8f794ac4fdfc04c89c46ece
aacsbr: prevent out of bounds memcpy().

Fixes Libav Bug 195.

This doesn't make the code handle sample rate or upsample/downsample
change properly but this is still a good sanity check.

Based on change by Michael Niedermayer.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
libavcodec/aacsbr.c