It may work or break it completely ...

apply by normal patch command  from inside thirdparty/ffmpeg (may be "cat pathname | patch  -p1", may be "cat  patchname | patch -p0") or edit libavcodec/qsvenc.c by hand.

rebuild ffmpeg, do not do make clean, 
cd ../../
 so you again in main directory with ./autogen.sh and bin directory with cinelerra.

touch cinelerra/ffmpeg.C
make

Hopefully this rebuild cin so on next start from bin/cin you will have something to test with tff sources.

Unfortunately, netBSD does not support hardware virtualization on AMD cpus, so for now I do not have my virtual machines. I also forgot type of  cable from PSU to disks, so now I can only power up one of two sata drives.

It will be fixed eventually, but for now I hope to live up this netBSD install a bit ...