fixed (hopefully) 0001 patch, added mjpegtools and ffmpeg 4.4 termux-specific patches... also added libbthread source and simple Makefile (might be useful if i manage to include resulted library in libzmpeg-related files) 



On Wednesday, May 19, 2021, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
probably not very complete (mjpegtools had their own problems) but should give you some idea where I am

patch 0001 still not fixed.. (as in, it reintroduced ff->video_probe and this one still leaks..) 

configured with

 $ ./configure  --without-lv2 --without-vdpau --without-vaapi --without-firewire --without-nv --without-shuttle --without-shuttle_usb --with-single-user --without-libzmpeg --with-clang --with-booby --without-dv --without-dvb --without-video4linux2 --disable-dav1d