diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2016-01-13 00:56:39 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-01-15 13:47:11 +0100 |
commit | b06cb15b9d7928bf54b639c9f9f7658c2c38bfb9 (patch) | |
tree | 9494f620d9756d1b69c3729d4abf875f4ecd6732 /libavcodec/cavsdsp.h | |
parent | 9cdddb93bb33c58a5d42239326bc5eae0067366a (diff) | |
download | ffmpeg-b06cb15b9d7928bf54b639c9f9f7658c2c38bfb9.tar.gz |
dca: fix misaligned access in ff_dca_convert_bitstream
The function is used on unaligned buffers (such as those provided
by AVPacket), accessing them as uint16_t causes SIGBUS crashes on
architectures like SPARC.
This fixes ubsan runtime error: load of misaligned address for type
'const uint16_t', which requires 2 byte alignment
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/cavsdsp.h')
0 files changed, 0 insertions, 0 deletions