[FFmpeg-devel] avfilter/x86/vf_interlace : fix crash in low_pass_complex

Martin Vignali martin.vignali at gmail.com
Thu Dec 14 18:58:32 EET 2017


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

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-avfilter-x86-vf_interlace-avfilter-x86-vf_interlace-.patch
Type: application/octet-stream
Size: 3445 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171214/ae99c2e8/attachment.obj>


More information about the ffmpeg-devel mailing list