[FFmpeg-devel] avfilter/x86/vf_interlace : fix crash in low_pass_complex
Thomas Mundt
tmundt75 at gmail.com
Thu Dec 14 23:45:12 EET 2017
Hi,
2017-12-14 17:58 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:
> Hello,
>
> related to ticket 6491 (crash using crop and vf_interlace)
>
> in attach patch to fix crash when data are unaligned, with low_pass_complex
> filtering
> (the previous patch, fix crash, for low_pass_simple filtering)
>
>
> Can be test with
> For 8 bits
> ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p -vf
> crop=1440:1080,interlace=lowpass=2 -f null -
>
> For > 8 bits :
> ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p10le -vf
> crop=1442:1080,interlace=lowpass=2 -f null -
>
> i use m2 as temp xmm, in order to make an unaligned load (m2 is not use in
> the last part of the loop, and overide at the start of the loop)
>
> and in complex_12bits filtering
> i use m4, for the same reason
>
Patch LGTM, thanks!
Regards,
Thomas
More information about the ffmpeg-devel
mailing list