I’m not sure why this gave me such trouble, but to build properly under Linux I couldn’t find the correct build order (with all the split out libraries now), so here’s what I used:
-lavformat -lavcodec -lavdevice -lavfilter -lavutil -lz -lm -lswscale -lSDL
Here’s hoping!