mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/170/merge
parent
9cdddb93bb
commit
b06cb15b9d
1 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue