1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
FFmpeg/libavcodec
Andreas Cadhalpun 1272b88d04 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>
2016-01-27 23:45:44 +01:00
..
2015-08-29 06:44:20 +01:00
2015-08-22 06:16:31 +01:00
2015-08-27 17:05:44 +02:00
2015-09-01 14:35:32 +02:00
2015-08-18 10:24:01 -04:00
2015-10-08 13:15:42 +02:00
2015-08-27 02:59:43 +02:00
2015-08-18 11:48:49 -04:00
2015-12-20 13:39:29 +01:00
2015-09-03 09:47:44 +00:00
2015-08-18 11:48:49 -04:00
2015-10-12 21:46:54 +02:00
2015-08-11 23:16:35 +02:00
2015-08-21 08:46:05 +02:00
2015-08-21 08:46:05 +02:00
2015-08-18 09:46:49 -04:00
2015-11-26 16:05:41 +01:00
2015-09-04 09:33:46 -04:00
2016-01-15 12:30:40 +01:00
2015-08-18 10:24:01 -04:00
2015-08-18 11:48:49 -04:00
2015-10-08 13:15:42 +02:00
2015-08-15 15:06:01 +02:00
2015-08-18 11:48:49 -04:00
2015-10-12 21:46:54 +02:00
2015-08-19 14:15:43 +02:00
2015-09-07 15:32:56 +02:00