Two more things. The Makefile rules need $(EXESUF) to work on Windows, and I'm getting a crash at the end of the benchmark with mingw-w64 (x64 only, apparently) that's caused by the free() call. Using av_free() or av_freep() solves it. Regards.