aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsicinaudio.c
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-27 23:45:44 +0100
commit1272b88d04574f20aa56e6bbefcdf1405f267401 (patch)
treed779786e250238725ab8ce5a7873a2971faed451 /libavcodec/dsicinaudio.c
parentcf99f0dd0fa24213f12943027055ab11968ea16c (diff)
downloadffmpeg-1272b88d04574f20aa56e6bbefcdf1405f267401.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> (cherry picked from commit 44ac13eed49593f4f8efdb72ab0d5b48e05aa305) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/dsicinaudio.c')
0 files changed, 0 insertions, 0 deletions