summaryrefslogtreecommitdiffstats
path: root/libavutil/libm.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-13 00:52:58 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-14 01:23:54 +0100
commit44ac13eed49593f4f8efdb72ab0d5b48e05aa305 (patch)
tree1a21bbf3689ea8372b8d2a7d9a1f163851b5de53 /libavutil/libm.h
parent7145e80b4f78cff5ed5fee04d4c4d53daaa0e077 (diff)
downloadffmpeg-streaming-44ac13eed49593f4f8efdb72ab0d5b48e05aa305.zip
ffmpeg-streaming-44ac13eed49593f4f8efdb72ab0d5b48e05aa305.tar.gz
dca: fix misaligned access in avpriv_dca_convert_bitstream
src and dst are only 8-bit-aligned, so 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 Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavutil/libm.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud