[FFmpeg-devel] [PATCH] x86/yuv2rgb: fix crashes when storing data on unaligned buffers

James Almer jamrial at gmail.com
Mon Jul 13 16:19:07 EEST 2020


On 7/13/2020 4:02 AM, Carl Eugen Hoyos wrote:
> 
> 
>> Am 13.07.2020 um 02:33 schrieb James Almer <jamrial at gmail.com>:
>>
>> Regression since fc6a5883d6af8cae0e96af84dda0ad74b360a084 on SSSE3 enabled
>> CPUs.
> 
> FFmpeg does not require aligned output buffers on x86_64?

There's no alignment requirement mentioned anywhere in swscale.h, which
explains why every other asm function also uses unaligned mov
instructions when handling src and dst buffers.

> 
>> Fixes ticket #8747
> 
> Another issue is described in this ticket that implies an overwrite: Can you reproduce?

No, I haven't tried that one under valgrind.

> 
> Thank you, Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> 



More information about the ffmpeg-devel mailing list