more ffmpeg backwards compat. TODO verify LIBAVFORMAT_VERSION_INT.